code: def __len__(self) -> int:
      return len(self.__data)
  
imports: import typing
label_desc: Use image node_id 5 for calling the InMemoryDataset obj's underlying member method code with example usage: obj.__len__() and returns: len