You example is confusing.

You have 5 100's and then you have = and then you have groups of 3 100's separated by "*"'s.

What exactly are in the 60 columns and what exactly do you need to count.

If you have, say, 5 groups of 3 consecutive 100's within the 60 month period, what should the result be?