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