import calendar


def ndays(year: int, month: int) -> int:
    """Wrapper around calendar.monthrange that returns only the days in the specified yearmonth.
    Args:
        year (int): The year
        month (int): The month
    Returns:
        int: The n days in the year-month
    """
    _, ndays = calendar.monthrange(year, month) 
    return ndays