code: def _get_n_incomplete_windows(window_length, step_length) -> int:
      return int(
          np.ceil(
              _coerce_duration_to_int(duration=window_length, freq="D")
              / _coerce_duration_to_int(duration=step_length, freq="D")
          )
      )
  
file_path: sktime/sktime/split/tests/test_split.py
imports: import numpy
  import pytest
  from sktime.forecasting.base import ForecastingHorizon
  from sktime.split import ExpandingWindowSplitter, SlidingWindowSplitter
  from sktime.utils.datetime import _coerce_duration_to_int
  from sktime.utils.validation import array_is_datetime64, array_is_int, array_is_timedelta_or_date_offset, is_int
  from sktime.utils.validation.forecasting import check_fh
label_desc: Use image node_id 8 for calling a global function with example usage: _get_n_incomplete_windows(window_length, step_length) and returns: int