def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def _to_python(self, value):
        if isinstance(value, Proxy):
            return value.get()
        else:
            return value