Add word count exercise using maps