Answer:
def word_count(string):
tokens = string.split()
n_tokens = len(tokens)
return n_tokens # <-- here is the difference
print(word_count("Hello World!"))
print(word_count("The quick brown fox jumped over the lazy dog."))
Step-by-step explanation: