For forced limiting to the maxlength
<input id="my-input" maxlength="100">
<character-count for="my-input"></character-count>or for just counting the characters - allows for negative count.
<input id="my-input">
<character-count for="my-input" maxlength="100"></character-count>