If I have an array full of 1's and 2's, and I want to count how many 1's are in the array, how do I do it?
How big is your array?
If you're trying to discover the contents, I would suggest building a debugger. That way, while you're in-game, you'll always know the content of your array.
I don't know the best way, but you could try something like "Every Tick, set TEXT to Array.curValue" I'm a newb myself, but that might help. Maybe do a textbox that constantly updates?
Maybe do a for each? How, I'm not sure. I usually just play around until it works.