Counts the elements of the list not taking into account the null values.
Aggregation
count(<listAny>)
count(<listObject>)
Parameter | Type | Description |
---|---|---|
listToProcess | listString, listBoolean, listInteger, listDecimal, listDuration, listDateTime, listDateTimeOnly, listDateOnly, or listObject | List to process. For listObject, it must be a field reference. A listObject cannot contain null object. |
count(<listAny>)
Returns an integer.
count([10,2,10,null])
Returns 3.
count(@event{my_event.productListItems})
Returns the number of objects in the given array of objects (listObject type). Remark: a listObject cannot contain null object