numberOfItems

The numberOfItems property of the SVGStringList interface returns the number of items in the list. length is an alias of it.

MDN Reference