solved count_minutes