@advancedMessageReport::getResponseCount

Determines the number of recipients that have responded with the specified response.

Syntax:

@advancedMessageReport::getResponseCount(String response)

Parameters:

(String) response: the response to count (possible values are determined by @advancedMessage.choices)

Returns:

(Integer) the number of recipients who have responded with the response

Example:

$content.message::add("Response: \n")

$ids = @summary::getPopulationNotificationIds()

FOR($Choice : $amContent.choices)

  $result = @summary::getResponseCount($Choice)

  $content.message::add($Choice &" : " & $result & "\n")

ENDFOR