OESmilesAtomCount(str: str) -> int
This function efficiently determines the number of heavy atoms in a SMILES string, without converting it into an OEMolBase.