counts alongside the planner's estimates. By Martijn van Oosterhout, with some further work by Tom Lane.