The length read-only property of the SVGPointList interface returns the number of items in the list.
length
MDN Reference