numberOfAllTaks was not cached in DBController