Number of elements in

Returns the number of elements in a list.

Example Use Case

A mobile phone company wants to check whether or not a customer purchased a Samsung Galaxy S from their web site. Using the number of elements in function they can check if the customer triggered a completion event for buying an Samsung Galaxy S.

Example Eligibility Rule

number of elements in [Completed for Samsung Galaxy S] ≥ to 1

Exp - count elements

Where the parameters for Completed are as follows:

  • Proposition name equals Samsung Galaxy S