@staticmethod
def number_spaces(text):
    ' count the number of spaces in the text '
    return text.count(' ')
count the number of spaces in the text
@staticmethod
def number_spaces(text):
    '  '
    return text.count(' ')