docstr: Returns the total number of possible (input, target) splits.
docstr_tok: ["Returns","the","total","number","of","possible","(","input",",","target",")","splits","."]
code: def __len__(self):
      """
      Returns the total number of possible (input, target) splits.
      """
      return self.total_nr_samples
  
file_path: darts/darts/utils/data/horizon_based_dataset.py
imports: from typing import Optional, Sequence, Tuple, Union
  import numpy
  from darts import TimeSeries
  from darts.logging import get_logger, raise_if_not
  from .training_dataset import PastCovariatesTrainingDataset
  from .utils import CovariateType
label_desc: Use image node_id 2 for calling the HorizonBasedDataset obj's underlying member method code with example usage: obj.__len__() and returns: self