ParticleCounter: remove unused variable and comments