I don't think it matters who has more IR missiles when the opponent has at least 4 already. I don't think that an engagement ever decided in the 5th or 6th BVR missile.
BVR missiles are far from perfect... experience has shown that even against unaware enemies with no modern RHAWS and self defence suites there is a 50% survival rate, so one would expect this to fairly dramatically change in a modern aircraft like the Su-30MKI... especially when fitted with equipment to deal with incoming threats.
Modern IIR missiles are more of a threat than BVR missiles, but can also be dealt with using modern DIRCMs.
It matters who has the most when 4 Raptors with 24 AMRAAMs and a 20mm cannon get bounced by 4 Su-30MKIs with 24 R-77s plus 24 R-73s or improved models and 30mm cannons...
Even in training it has been proven F-22s can be beaten in dogfights... it was designed as a sniper to wipe out enemy forces from a stand off distance from the high ground... The problem for the F-22 is that the AMRAAM is not a perfect weapon and with the introduction of the FFGA wont be able to be used at long range either...
It's not about one on one like you "simulate" but more that Sukhoi has better range, can remain more time in the sky, needs less maintenance, can fly more sorties, cost much less and can be produced in greater numbers. This factors can seriously be killers in a REAL situation.
There will only ever be 189 F-22s produced and allowing for shrinking numbers due to attrition it is very unlikely a country like India would face an overwhelming number of F-22s. The F-35 on the other hand is supposed to be produced in the thousands, but as you point out range or lack of, cost, etc etc are all in favour of the Su-30MKI and could be exploited by a smart enemy.
The US seems to be turning away from Pakistan and once US troops are out of Afghanistan (if they ever are) then Pakistan will become a liability rather than an ally... a bit like Saddam after he invaded Kuwaite.
this means no land based F-22s and probably only ship based F-35s facing India... or chinese rip offs...
What happened in Vietnam should suffice to bring forth the point that the days of gun-fighting and coming to a merge is not over, and may not be over even in future.
Every so often people start to think that missiles are developed to the point where they wont miss. This generally proves to be not the case as defences and countermeasures improve too.