Add missing count_days