Plan global count(*) in ConsumingPlanner

use relation