Count words in a String - Completed - Not clear errors handling