used charcodes to strip special chars in letterCount