Plan global count(*) in ConsumingPlanner

pls add a note that this is to dispatch inserts