Adding word counter