length-repeat_at_schedule-method function

Return the number of repetition cycles.