Automated word count