Character count fix

Fixed the character counting property of the model.