Added support to next() for count, startDate, and endDate in the schedule object.