Fix undefined weekdays and add count to rrule