Length of input in a Text Answer Box?

Is there a way to check the length of input in a Text Answer box?

I like to use input from some text answer boxes on slides that come in the future. But, sometimes the students responses are too long. I would love to be able to check how long it is, and then make their answer blank or something standard if it is too long.