Get stats and summary working for 'Count words in a string'