#COUNT
Syntax
#COUNT(Collection)
Parameters
- Collection - A variable containing a collection.
Description
#COUNT returns the number of items in a collection.
Related
#SIZE returns the number of bytes in a string or blob variable, but also returns the number of items in a collection for backward compatibility.
Example
#CQL($Contacts,"FROM Contacts")
There are #COUNT($Contacts) contacts.
Result
There are 12 contacts.