Use lots of local variables for keep the logic shorter.  Increment the counter if it matches the string within the sentence, then return tru