code: def __len__(self):
      return self.num_samples
  
file_path: ClassyVision/classy_vision/dataset/core/random_image_datasets.py
imports: from enum import Enum
  import numpy
  from PIL import Image
  from ...generic.util import numpy_seed
label_desc: Use image node_id 3 for calling the RandomImageDataset obj's underlying member method code with example usage: obj.__len__() and returns: self