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

Count elements example

Where the parameters for Completed are as follows:

  • Proposition name equals Samsung Galaxy S