It seems to have something to do with the kix mishandling characters above 127 that it doesn't recognize. If I change the range from 65 to 90 (the upper case alphabet) the count is accurate.