The numberOfItems property of the SVGNumberList interface returns the number of items in the list. length is an alias of it.
numberOfItems
SVGNumberList
length
A non-negative integer that represents the number of items in the list.