code: def __len__(self):
      return math.ceil(self.x[0].shape[0] / self.batch_size)
  
imports: from .imports import *
label_desc: Use image node_id 2 for calling the MultiArrayDataset obj's underlying member method code with example usage: obj.__len__() and returns: math