XML DOM » NamedNodeMap » length

Syntax:
object.length

This is a read-only property that returns the number of nodes in the collection.