Word Counter - Implemented using OS X Foundation Framework