How do I get the counter to stop the input of characters in a text area