Counting Words

Created by Julien Palard

Provide a script that prints the number of words in the given paragraph.

I prefilled the answer box with the paragraph, in a variable, but in case you lose it, here it is:

phantom_menace = """Turmoil has engulfed the Galactic Republic. The
taxation of trade routes to outlying star systems is in
dispute. Hoping to resolve the matter with a blockade of deadly
battleships, the greedy Trade Federation has stopped all shipping to
the small planet of Naboo. While the congress of the Republic
endlessly debates this alarming chain of events, the Supreme
Chancellor has secretly dispatched two Jedi Knights, the guardians of
peace and justice in the galaxy, to settle the conflict"""


Take a look at the split method.