[WIP] partially functional word count method for programmatic importing