Got word count working.
Writing word counts to file.