code: def _calculate_number_of_steps(scope_len, horizon):
      """Method return amount of iterations which must be done for multistep
      time series forecasting
  
      :param scope_len: time series forecasting length
      :param horizon: forecast horizon
      :return amount_of_steps: amount of steps to produce
      """
      amount_of_iterations = int(horizon // scope_len)
  
      # Remainder of the division
      resid = int(horizon % scope_len)
      if resid == 0:
          amount_of_steps = amount_of_iterations
      else:
          amount_of_steps = amount_of_iterations + 1
  
      return amount_of_steps
  
file_path: FEDOT/fedot/core/pipelines/ts_wrappers.py
imports: import math
  from copy import copy
  from typing import Union, Optional
  import numpy
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.operations.evaluation.operation_implementations.data_operations.ts_transformations import ts_to_table
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import TaskTypesEnum
label_desc: Use image node_id 5 for calling a global function with example usage: _calculate_number_of_steps(scope_len, horizon) and returns: amount_of_steps