code: def len_handler(self, request: Request):
      sample = pickle.dumps(len(self.dataset))
      return Response(sample, media_type="binary/pickle")
  
file_path: labml/helpers/labml_helpers/datasets/remote/server.py
imports: import pickle
  import uvicorn
  from fastapi import FastAPI, Request, Response
  from torch.utils.data import Dataset
label_desc: Use image node_id 2 for calling the _ServerDataset obj's underlying member method code with example usage: obj.len_handler(request) and returns: Response