Didn't the Russians put a system on their latest sooks and migs that would fire the gun only when it had a really good chance of hitting the target?
From "Mil-Tech Series, Mikoyan Mig-29"-- "Mikhail Waldenberg was concerned the gun wouldn't hold enough ammunition, but during initial trials, the gun refused to fire bursts longer than five rounds because it jammed. This was naturally worriesome to Waldenberg until they considered that the targets were coming unglued anyway. Further tests revealed that the whole system was spectacularly accurate and that magazine capacity was far more generous than would ever be needed." The GSh-301 30mm cannon in the early Mig held 149 rounds- let's halve the accuracy (10 rounds per target) that's 14 targets hit per ammo loadout.
I don't see why the Gripen wouldn't have a newer and more effective system.
If I were Sweden, would I tell anyone about it?