The core length function returns the number of code points when called on a string.
count = length(str)The UnicodeExtras module provides
the length function, which returns the number of grapheme clusters when called
on a string.
using UnicodeExtras
count = length(str)