Update "countChars"