COUNTING THE NUMBER OF DAYS (RULE 25)