docstr: The number of samples in this rank.
docstr_tok: ["The","number","of","samples","in","this","rank","."]
code: def __len__(self) -> int:
      """The number of samples in this rank."""
      return self.num_samples
  
file_path: mmdetection/mmdet/datasets/samplers/custom_sample_size_sampler.py
imports: import math
  from typing import Iterator, Optional, Sequence, Sized
  import torch
  from mmengine.dist import get_dist_info, sync_random_seed
  from torch.utils.data import Sampler
  from mmdet.registry import DATA_SAMPLERS
  from .class_aware_sampler import RandomCycleIter
label_desc: Use image node_id 3 for calling the CustomSampleSizeSampler obj's underlying member method code with example usage: obj.__len__() and returns: self