calculate as many top tasks as you want