What does the array reduction operator does in this below piece of code?

In reply to desperadorocks:

What’s the Value for count used in your code ?