The read-only length property of the DOMRectList interface returns the number of DOMRect objects in the list.
length
MDN Reference