The Count()
function returns the number of items in a list or concept set.
Syntax
Count(list)
Count(concept_set)
Returns
The number of items in the given list
or concept_set
.
Parameters
list
– a list of values.concept_set
– a collection of concepts.
Examples
Count(List("A", "B", "C"))
/* returns 3 */
Count([Products] where [Product.Price] > 10)
/* returns the number of products that cost more than 10 euro */