Limit amount of particles


How do I set a limiter on amount of similar particles that can be spawned?
Case in point; a weapon spawns an particle but with a machine gun type of gun, the amount of particles becomes numerous and reduces performance too much.

A straightforward question that surprisingly does not seem to have been properly answered yet, although it is fairly general.

Help is much appreciated!