(PHP 7 >= 7.2.0, PHP 8)
DOMNamedNodeMap::count — Get number of nodes in the map
Gets the number of nodes in the map.
此函数没有参数。
Returns the number of nodes in the map, which is identical to the length property.