<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def monthrange(cls, year, month):
 """Returns the number of days in a month"""

        functions.check_valid_bs_range(NepDate(year, month, 1))
        return values.NEPALI_MONTH_DAY_DATA[year][month - 1]