def _window_count(clip_duration: float, window_duration: float,
                  hop: float) -> int:
  """Returns the number context window hops in bounds of a clip."""
  return int((clip_duration - window_duration) / hop) + 1