|
Home >Online Product Documentation >Table of Contents >Determining the Number of Nodes in a Collection Determining the Number of Nodes in a CollectionTo obtain the number of nodes in a node set, call the count() function. The format is The count() function returns the number of nodes in the specified set. For example, the following query finds all authors who have more than ten publications: To obtain the number of nodes in the current context, call the last() function, described in the next section. |