Counting repeating words in a sentence