solve word count