UTF-16 surrogate-pair count, input discarded | GenAiHub