public static int getElementCount ( IMolecularFormula formula , String symbol ) { return getElementCount ( formula , formula . getBuilder ( ) . newInstance ( IElement . class , symbol ) ) ; }
Occurrences of a given element in a molecular formula .