def retry_count(self):
        """
        Amount of retried test cases in this list.

        :return: integer
        """
        retries = len([i for i, result in enumerate(self.data) if result.retries_left > 0])
        return retries
Amount of retried test cases in this list.

        :return: integer