'🔥'.length is 2. '👨‍👨‍👦‍👦'.length is 11.

Use the Intl.Segmenter() API to count number of perceived characters in a string with emojis in them. Also handy for counting words and sentences!

537631512086K
905
690261413K