added number of particles in outputfile