CountCharacters code doesn't match the comments

Changed so that the code matches the comments by switching mb_strlen and iconv_strlen.

iconv_strlen fails more often then mb_strlen on utf8 strings. These failures give these kind of errors:
function.iconv-strlen: Detected an illegal character in input string