Maximum Length can be set by editing the field in CB > Field Management under the Global tab.
but would it be possible to have a counter as in the private message text field?
There's no character counter for fields. You'd have to add that your self likely using custom JS and the layout parameters. Shouldn't really be necessary as the input will stop accepting characters and the validation will prevent going over the limit.