Show remaining characters (maxlength)

Hi
is there a command to include in the json field to show a live preview number (similar to when using “slug”) of the remaining characters (if we selected f.e. a max length of 150)?

thx