The repetitionCount property of the ImageTrack interface returns the number of repetitions of this track.
repetitionCount
MDN Reference