(PHP 7 >= 7.2.0)
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.