length-cyclic_schedule-method function

Return the number of repetition cycles.