in the following script, I\'m trying to count each match, for example, I want to count all 3 matches (how many threes in the output) if you run this script it will give you