set approximate number of tasks