Improved queryPlanner to fake db.approximateSize.