"""
Lecture 11 - You Try: count_words
Returns the number of words in a sentence.
"""


def count_words(sen):
    """
    - sen is a string representing a sentence
    - Returns how many words are in sen (i.e. a word is a
      sequence of characters between spaces).
    """
    words = sen.split()
    return len(words)


# Test calls
print(count_words("Hello it's me"))           # 3
print(count_words("one"))                     # 1
print(count_words("the quick brown fox"))     # 4
