Simple component that calculates the number of days in a given month. It takes the year (integer) and month (integer) as inputs and returns the number of days in that month.