OK, I see.
But if I don't declare %count with my %count% the hash isn't an existing data structure, isn't it?
Do I always have to declare a hash prior to using it within the foreach loop, or is there a way to do it all in one step within the loop?
Sorry if this sounds stupid. ;)