The Doctor will have regenerations until people stop watching the show.

Then he will have a few more.