Word counter automated