Plan global count(*) in ConsumingPlanner