Find the frequency of a string in a sentence