Fix statistics for SparkLogicalPlan.