Rewrite count(constant) to count(*)
Narrow return type of LocalQueryRunner.printPlan()