add words count of a file