Hey folks,


I'm pretty new to lua and currently making an iPhone Application on Corona SDK.

I've got a database file which outputs the following months...

09
09
10
11
09

Now i've got it to output that fine and i have added it into a table. What i can't figure out is how to loop through that and basically show this:

3 (for three 09's)
1 (for one 10)
1 (for one 11)

could anybody help me out please