class_docstr: A dataset which provides time series.
class_docstr_tok: ["A","dataset","which","provides","time","series","."]
code: def number_of_time_steps(self):
      return sum([len(s) for s in self.series])
  
file_path: gluonts/src/gluonts/nursery/few_shot_prediction/src/meta/data/dataset.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import List, Optional
  import pandas
  import torch
  from torch.utils.data import Dataset
label_desc: Use image node_id 3 for calling the TimeSeriesDataset obj's underlying member method code with example usage: obj.number_of_time_steps() and returns: sum