Add wordCount logic, have to wait for database for testing