from collection import counter import re def count_words(sentence): sentence = sentence.lower