OEDoubleBondCount

unsigned int OEDoubleBondCount(const OEAtomBase *atm)

Returns the number of double bonds connected to an atom.