class_docstr: Wrapper class of Dataset class that performs multi-threaded data loading
docstr: Return the number of data in the dataset
docstr_tok: ["Return","the","number","of","data","in","the","dataset"]
code: def __len__(self):
      """Return the number of data in the dataset"""
      return min(len(self.dataset), self.opt.max_dataset_size)
  
imports: import sys
  import os
  import pathlib
  import logging
  import time
  import argparse
  from collections import namedtuple
  import numpy
  import torch
  import torch.utils.data
  import nni
  from nni.utils import merge_parameter
  from pix2pixlib.data.aligned_dataset import AlignedDataset
  from pix2pixlib.models.pix2pix_model import Pix2PixModel
  from base_params import get_base_params
label_desc: Use image node_id 3 for calling the CustomDatasetDataLoader obj's underlying member method code with example usage: obj.__len__() and returns: min