code: def __len__(self):
      return len(self.sampler)
  
file_path: qlib/qlib/model/utils.py
imports: from torch.utils.data import Dataset
label_desc: Use image node_id 3 for calling the IndexSampler obj's underlying member method code with example usage: obj.__len__() and returns: len