Avoid name clash with *ntotal* from *Dump* class. Use appropriate output functions if LAMMPS is compiled as SMALLSMALL, SMALLBIG or BIGBIG.