trying to count matches of strings