Reset internal counter when a COUNT rule is specified

Minor bugfix: if a count is set as part of the RRULE, the internal counter needs to be reset, otherwise next() returns FALSE and drops out without returning additional dates.