enable charCount feature