print number of tasks