The F4 Phantom had a internal Vulcan (M61A) 20 mm, six-barrel, rotary-cannon with 639 rounds.
Most of the 107 kills were by missiles....when they worked. 15 by gun.
The F-15 Eagle maxed out at 940 rounds rounds.
The F-22 holds the same Vulcan Electric M61A2 cannon that the F-15 does and can hold 500 rounds.
The A10 Warthogs seven-barrel 30mm GAU-8/A Avenger gun has as many as 1,174 rounds.
F-35A’s internal 25mm gun has 220 rounds.
The U.S. Air Force Promised the F-4 Would Never Dogfight
Now its saying the same thing about the F-35
https://medium.com/war-is-boring/the-u-s-air-force-promised-the-f-4-would-never-dogfight-3e1a66da4e73
FTA: The aerial dogfight was not supposed to happen. On May 20, 1967, eight U.S. Air Force F-4C fighters were patrolling over North Vietnam when they spotted as many as 15 enemy MiG-17 fighters a short distance away.
snip: Diving to attack, the twin-engine F-4s fired a staggering 24 Sparrow and Sidewinder missiles, shooting down just four of the single-engine MiGs.
snip: In January 2015, the flying branch pitted a radar-evading F-35A against a 25-year-old F-16D in mock air combat. The F-35 proved too slow and sluggish to defeat the F-16 in a turning fight, according to the official test report that War Is Boring obtained.
You forgot the F-35 doesn’t hit what it’s aimed at with the $400,00.00 - $600,000.00 helmet with S/W issue!