Returns the current maximum character count.
This function will only work on RichText and TextEntry panels and their derivatives.