Path: blob/main/files/en-us/web/xpath/functions/count/index.md
6532 views
------{{ XsltRef() }}
The count function counts the number of nodes in a node-set and returns an integer.
Syntax
Arguments
node-set: The node set to be counted.
Returns
An integer representing the number of nodes in a node-set.
Defined
Gecko support
Supported.