Trying to count words in a string,print({word: word_list.count(word) for word in word_list})