These functions count the number of items in a source. They return integers, which can be evaluated with mathematical operations.


Function

Description

​fn:length​

Returns the string length or the number of items in a collection.

​ecm:countMapElements​

Returns the number of elements inside a map.