update word counter 2.0