code: def _sum_cycles_from_tokens(self, tokens: List[str]) -> int:
          
          return sum((int(self._nonnumber_pattern.sub('', t)) for t in tokens))
docs: Sum the total number of cycles over a list of tokens.