The length property of the ImageTrackList interface returns the length of the ImageTrackList.
length
ImageTrackList
MDN Reference