frameCount

external val frameCount: Int(source)

The frameCount property of the ImageTrack interface returns the number of frames in the track.

MDN Reference