process word counts script