class_docstr: Determines the number of days in the month of given datetime.
  
  Examples:
      >>> from datetime import datetime
      >>> dates = [datetime(2019, 12, 1),
      ...          datetime(2019, 1, 3),
      ...          datetime(2020, 2, 1)]
      >>> days_in_month = DaysInMonth()
      >>> days_in_month(dates).tolist()
      [31, 31, 29]
code: def get_function(self):
      def days_in_month(vals):
          return vals.dt.daysinmonth
  
      return days_in_month
  
imports: from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime, Ordinal
  from featuretools.primitives.base import TransformPrimitive
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 1 for calling the DaysInMonth obj's underlying member method code with example usage: obj.get_function() and returns: days_in_month, vals