Returns the total number of code points encoded in str.
Supercedes: This function supercedes toUCSindex.
UTFException if str is not well-formed.
assert(count("") == 0); assert(count("a") == 1); assert(count("abc") == 3); assert(count("\u20AC100") == 4);
See Implementation
Unicode 5.0, ASCII, ISO-8859-1, WINDOWS-1252
Returns the total number of code points encoded in str.
Supercedes: This function supercedes toUCSindex.