none other than count_chars is the first one my searches through str.rs found.  Will fix.