Create the GetMaxCount Action for Email Send Definitions
The GetMaxCount action returns the number of rows in the list or data extension that’s specified in an email send definition. This value roughly corresponds to the number of subscribers associated with an email send definition. However, this action doesn’t perform any checks to determine if a subscriber is valid, active, or on a suppression list.
Use this code example as a model for your own sample code. Note that the GetMaxCount action is specified in the Action note in the SOAP request envelope, and the SOAP response envelope contains the count in the Task node.
The response contains the attributes shown in this example.