GETTING PARTICLE STATS
When optimizing performance, it's very useful to track the number of current particles. These global variables will help you keep an eye on your particles:

pt_numParticles
	
This variable will always hold the total number of active particles. Keep in mind, that this is the total number of them, not the number of particles that Particle Candy actually renders to screen (the engine does not render particles that are out of sight, or invisible, for example).

pt_particlesRendered
	
This variable will give you the count of particles that have actually been rendered on the last UpdateParticles( ) call. Depending on certain situations, this may be a very different value than the total number of particles.