top" will be 4 not 1 (even if there are no spaces in the string). *Examples:* >>> words_count('hello world') # returns 2 >>> words_count('one,two,three.stop') # returns 4 :param input_string: String to check. :type input_string: str :return: Number of words. )