You can use FNC_GetStructuredAttributeCount to get the number of attributes of any structured UDT, including dynamic UDTs that are defined as input parameters to UDFs.
You can use FNC_GetStructuredAttributeCount to get the number of attributes of any structured UDT, including dynamic UDTs that are defined as input parameters to UDFs.