fix :all task count calculation