code: def find_max_utts(
      utts: List[Dict], max_sec: float, pos: int
  ) -> List[int]:
      # pos, pos+1, pos+2, ... (including pos)
  
      results = []
      start_time = utts[pos]["offset"]
      while (
          pos < len(utts)
          and (utts[pos]["duration"] + utts[pos]["offset"] - start_time)
          <= max_sec
      ):
          results.append(pos)
          pos += 1
  
      return results
  
file_path: espnet/egs2/must_c_v2/s2t1/local/data_prep.py
imports: from argparse import ArgumentParser
  from pathlib import Path
  from typing import Dict, List, Optional, Tuple, Union
  import yaml
label_desc: Use image node_id 3 for calling a global function with example usage: find_max_utts(utts, max_sec, pos) and returns: results