Arduino mega + lots of servos

Hello,

I cant seem to find an answer for this. I would like to connect a lot of servos to a Arduino mega board, however, I know that if i do so some of the pwm pins will loose its ability to output a pwm signal. So my question is, on an Arduino mega (R3), which pins loose the pwm functionality if i connect 1 servo? What if I connect 7 of them? 20? If someone could tell me at which points would i loose more pwm pins (i.e. if i have 14 servos i loose pwm outputs on 2 of the pwm pins, but if i have 15, i would loose 3 pwm pins. and also, which pins?)

Thank you.

Similar thread:

Take a look at Retroplayer's response