OESmilesAtomCount

unsigned int OESmilesAtomCount(const char* str)
unsigned int OESmilesAtomCount(const std::string& str)

This function efficiently determines the number of heavy atoms in a SMILES string, without converting it into an OEMolBase.