VideoComponentChain / AudioComponentChain APIs seem inconsistent with the rest

[Video|Audio]ComponentChain::getComponentCount returns an int.
OK but mostly being a collection I would have expected a property such as length - or potentially size (thank you Map/Set for the confusion :face_with_bags_under_eyes: ) instead of a lengthy method.

I guess it may have been an attempt to mimic other API like sequence::getVideoTrackCount()
… but that is one is returning a Promise, so it make sense to be a method here.
Plus the Sequence class has 3 different type of object length to return.
So the comparison falls short.


Also why “…AtIndex” ?
That look redundant with usage [Video|AudioComponentChain::getComponentAtIndex(index).
… and is at odd with other APIs (such as Sequence::getAudioTrack(index) thanksfully this is not Sequence::getAudioTrackAtIndex(index) or Sequence::getVideoTrackAtIndex(index) or Sequence::getCaptionTrackAtIndex(index))

Any plan on changing that before too many people start using them ?