Increase/Decrease the word count in the_excerpt()

Heres one I’d been needing for a while but didn’t scratch my head hard enough.. Increasing/decreasing the word count in the WordPress excerpt. Very useful!

[php]
add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length) {
return 60;
}
[/php]