added word counter