Decreasing frequency of writeouts on wordcounting
fixing warning message