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