The Character count example from the Textarea docs.
npx shadcn@latest add @hextaui/textarea-counter
textarea-counter