Convert ex->cb into a character count before assigning it to nCount. Remove some dubious minus ones that would result in different character counts for the Unicode and ANSI paths.