length

The TimeRanges.length read-only property returns the number of ranges in the object.

MDN Reference