Accurate text lengths with Intl.Segmenter API