Change Default Length of Excerpt in WordPress

I think by default the WordPress excerpt is set to 55 words. With the below snippet you can change the excerpt length to whatever you want, the below limits it to 100 words but you can change the ‘100’ to whatever you like, paste the below into your functions.php file: