I should have titled the header as Days in year at month end. The formula counts the days from beginning of the year in this case to the end of the month.