Scaling the Number of Tasks in Continual Learning