docs: def total_length(self):
          """Returns the total length of the captions."""
          if not self._captions:
              return 0
          return int(self._captions[-1].end_in_seconds) - int(self._captions[0].start_in_seconds)