Create getMaxCharCount