We should distinguish between quantization, and "discrete particles with distinct properties." For example, the photoelectric effect demonstrates that light is quantized, but individual photons have no distinct identity whatsoever.
"Number of particles" is an observable like position, momentum, spin, etc. It is a quantum property which may or may not commute with other properties, and occupies the same conceptual space.