Understanding counting with arrays

Man, you guys are really over the top tonight.

@wannabe_pilot,
Udo Klein posts here regularly, try sending him a PM to ask about the code. I don't really follow what it's doing.