Added day counting.