Fix: count of tasks