presto-main/src/main/java/io/prestosql/execution/executor/TaskExecutor.java/TaskExecutor/getIntermediateSplits
class TaskExecutor:    @Managed
    public synchronized int getIntermediateSplits()
    {
        return intermediateSplits.size();
    }