def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def teardown(self, **kwargs: Any) -> None:
        """Execute arbitrary post-profiling tear-down steps as defined by subclass."""