This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.
We use the counter in many fields to show the character count of an input or the accepted min/max length of items. You can use the counter yourself very easily: