Added word counter