Pergunta de entrevista da empresa OpenText

They asked to write a code to find the character count in a given string