worked on word counting