There's on big downside - before this change, the query object was cached, so it would only have to do the computation once. I'm not sure how we can make this work and also ignore `order_by` if you're only interested in the number of rows.