This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
The List Count Operator returns '0' as the count when there are multiple items selected on a list control.
When using 'List Count' operator on an expression to get the count of the selected items on a list control (i.e. multi-select control), the count will always return 0.
List Aggregators including the 'List Count' Operator only work with List views. The List Count cannot be used to count the number of items selected on a list control.
We have a feature request submitted on ideas.k2.com to add the ability to use the List Count operator on list controls as well. Please vote for the following idea to increase the likelihood of this feature being added to a future update: