Initial crack at word counter