presto-main/src/main/java/io/prestosql/cost/SimpleStatsRule.java/SimpleStatsRule/doCalculate
class SimpleStatsRule:    protected abstract Optional<PlanNodeStatsEstimate> doCalculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types);