use 0 for default tasks count