A python script could add the ability to all weapons in a flash.
===
I did not see a formula for "weapon count," sadly. All I saw was what mounts use:
Requirement 1 Formula := Get_Component_Weapon_Type() = "Direct Fire"
Which is just a bool, not a count.
===
Starshadow:
That is possible, yes, but it eliminates other choices too, like the tradeoff between fighter bays vs. cargo bays (store more fighters, or launch more at once?), and defenses (armor/shields) vs. fighter bays.