Particle identification using a single counter