How to calculate
Group text into graphemes so a letter plus an accent or an emoji sequence can count as one character. Compare that with code-point and byte totals in the table.
Worked example
Use Text to count Hi ๐ฆ ยท Primary count Include whitespace. The result is 4 characters.
Input and result notes
Choose the counting unit required by the service or system that will receive the text.
Unicode text segmentation reference