Count the occurance of a word in a sentence.