getting word counts works