Fix the word count when loading txts
Merge pull request #7 from malithsen/word-count-fix

Update the word count when loading txts