Shows a field counter on specified fields in the SilverStripe CMS
To add the field counter to a Silverstripe field in the CMS you need to add:
TextField::('myfield')->setAttribute('fieldcounter', 140);
If you require different limits change the 140. Note: Adding this to a TextareaField prevents new lines.
$ composer require plato-creative/silverstripe-fieldcounter:1.*
See Docs