How can I get total number of particles in Nagara

Hello, I want to be able to delete new particles when the simulation reaches a certain number of spawned particle. I cannot figure out how to get the number of particles in the module. Thanks