Yeah, as @romanmg already showed, the number of days in the month is just the Date of the last day of the current month.
i.e. Current Date/Time rounded down to month: plus months 1: plus days -1: extract date
Current Date/Time rounded down to month: plus months 1: plus days -1: extract date