adding word count fix issue #189