DP191 word counting