fix month_count variable in months_reverse tag pair