CountCharacters code doesn't match the comments

Changed so that the code matches the comments by switching mb_strlen and iconv_strlen