(PHP 7 >= 7.2.0, PHP 8)
DOMNamedNodeMap::count — Get number of nodes in the map
Gets the number of nodes in the map.
Esta función no tiene parámetros.
Returns the number of nodes in the map, which is identical to the length property.