numberOfItems

The numberOfItems property of the SVGLengthList interface returns the number of items in the list.

MDN Reference