Calculation Formulas
Back to Calculation Formulas Overview
Back to Functions Overview
Function "Count"
Count(set)
Function: Counts and returns the number of elements in the given set.
Note: If this function is used with a multi select field from a subscriber list as the set argument, then it can only be used in the message content itself and not on a landing page, because multi select merge fields are not supported on landing pages.
Return-Type: Number
Arguments:
set - Type Text Set or Number Set: The set to count the elements of.
Examples:
Count(SetOf("elem1", "elem2", "elem3"))
Count(SetOf(1, 2, 3, 4, 5))
Count(&MULTI_SELECT_FIELD;)