How can I count the number of characters in a UTF-8 encoded string with PHP version 3.23.58?