code: def num_generated_tokens(self) -> int:
      # We return zero while we are processing decomposed prompts
      return (
          self.seq_length - self.prompt_length + 1
          if self.seq_length >= self.prompt_length
          else 0
      )
  
imports: from dataclasses import dataclass, field, asdict
  from typing import Any, Dict, List, Iterator, Union
  from typing_extensions import Self
  import torch
  from mii.constants import GenerationFinishReason
  from mii.config import GenerateParamsConfig
label_desc: Use image node_id 15 for calling the Request obj's underlying member method code with example usage: obj.num_generated_tokens() and returns: unknown