IMHO, 21

The larger the squad, the more versatile you can be and the greater number of formations you can play. It also helps when you get injuries as you will have a sub for the injured player.

You do pay more in salary and if you max out at 22, you have no place to put the free youth.

I also try my hardest to get players who play two positions since that helps with formations.