[lammps-users] (no subject)

Dear Lammps users and Developers,
I want to compute number of atoms in a region of simulation BOX.
I have defined a region and applying force on each atom in that region with addforce command using region keyword.
Is there any way so that I can get number of atom in that region in every step.
Thanks and regards,
Hemant

What kind of region it is?

variable foo count(g1,r1)
and print the value of variable foo

Steve