Using the following snippet to your theme’s functions.php file, will let you set a maximum word count on post titles.

Snippet Source/Credit: Pippin