clean up of word count