def word_count(input):

    """
    Count the number of words in a string. Words are defined as a sequence of characters between two spaces.
    """

    words = input.split(" ")
    return len(words)