presto-main/src/main/java/io/prestosql/sql/planner/optimizations/QueryCardinalityUtil.java/CardinalityExtractorPlanVisitor/visitValues
class CardinalityExtractorPlanVisitor:        @Override
        public Range<Long> visitValues(ValuesNode node, Void context)
        {
            return Range.singleton((long) node.getRows().size());
        }