OEGetHydrogenCounts

OEGetHydrogenCounts(counter: OEHydrogenCounter,
                    mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

Populates an OEHydrogenCounter object containing the explicit and implicit count of hydrogens in the molecule. Returns true if molecule is valid and counter is populated, false otherwise.