vmd.molecule.numatoms

vmd.molecule.numatoms()

Get number of atoms in a given molecule

Parameters:molid (int) – Molecule ID to query
Returns:(int) – Number of atoms present in molecule