Use character count to clearly indicate when there are limits on the number of characters allowed in a field.
Character count
The character count patterns uses the supporting text add-on of the input group component.
User experience
Character count refers to the number of characters in a piece of text, including letters, numbers, punctuation, and spaces. Displaying the count down of what has been entered in a field can help users stay within specified limits by providing feedback to users about the length of their input and how much space they have left.