Add tasks count to stats