public static int getAtomCount ( IChemSequence sequence ) { int count = 0 ; for ( int i = 0 ; i < sequence . getChemModelCount ( ) ; i ++ ) { count += ChemModelManipulator . getAtomCount ( sequence . getChemModel ( i ) ) ; } return count ; }
Get the total number of atoms inside an IChemSequence .