getting the word count