corrected day count