Returns the character count of str.
In contrast to strlen(), the return value of iconv_strlen() is the number of characters that occur in the given byte sequence str, which is not necessarily the same as the byte length of the string.
If charset parameter is omitted, str will be assumed to be encoded in iconv.internal_charset.