Add default value for the number of tasks to execute