code: def __len__(self):
      return self.data_total
  
imports: import os
  import ctypes
  import numpy
label_desc: Use image node_id 4 for calling the TestDataSampler obj's underlying member method code with example usage: obj.__len__() and returns: self