How can I change my code to get a count for every element? With my code everything is okay. And it works, but how can I change only that part?
#include