No, the problem is that if you edit the text and remove some words or copy/paste texts the script throws an error because it does not realize exactly how many characters are used, although the number updates. Maybe a caching Problem or something.
Try to write a text over the limit then edit it and copy/paste it again. It seems to make the script not tracking the exact number so that even if you are below the limit it throws the error.