count() The count() function counts the number of nodes in a given node-set. Syntax: number count(node-set) Arguments: A node-set. Only members of the node-set itself (and not descendants) are counted. Result: The number of nodes in the node-set. Defined: XPath, section 4.1. NS support: Supported.
The count() function counts the number of nodes in a given node-set.
number count(node-set)