End of the month counter