presto-main/src/main/java/io/prestosql/sql/planner/optimizations/OptimizerStats.java/OptimizerStats/getFailures
class OptimizerStats:    @Managed
    public long getFailures()
    {
        return failures.get();
    }