update word count bug