Conts the words in string