Using the following snippet, you will be able to setup maximum word count on post titles.

Snippet Source/Credit: Pippin