Word Count

Word Count Problem Irish Collegiate Programming Contest 2012