Word count exercise | 1st iteration