Added plan_count stat.