code: def get_duration(items):
      ret = 0
      for item in items:
          ret += (
              len(item["audio"]["array"])
              / item["audio"]["sampling_rate"]
          )
      return ret
  
file_path: espnet/egs2/reazonspeech/asr1/local/data.py
imports: import getopt
  import glob
  import os
  import random
  import shlex
  import sys
  from datasets import load_dataset
label_desc: Use image node_id 3 for calling a global function with example usage: get_duration(items) and returns: ret