code: def __len__(self):
      return self.length
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 2 for calling the SomeDataGeneratorWithLen obj's underlying member method code with example usage: obj.__len__() and returns: self