GetCodepointCount method
Get total number of codepoints in a UTF-8 encoded string
Implementation
int GetCodepointCount(
String text,
) => run(
() => _debugLabels.GetCodepointCount(text),
() => _flat.GetCodepointCount(
$.String$.ValueOrNull(text),
),
);