I created this jQuery plugin to limit the number of words a user can enter into a form field. It trims it if they paste in more words than the limit. You can also have it update a countdown element.