How can I set a maximum amount of characters instead of max. in words?