Add LetterCounter class