The length property of the SVGStringList interface returns the number of items in the list.
length
MDN Reference