size(str)
public

Returns the number of codepoints in the string