Returns the number of days in a month, taking leap years into account.
month
year
number of days in month during the year