Plan global count(*) in ConsumingPlanner

for loop?