The MAPI_PropertyListCount() function retrieves the number of properties in a property list.
MAPI_PropertyListCount(property_list_ID)
• property_list_ID – A long integer specifying the property list for which the number of properties is being returned.
An integer containing the number of properties.