presto-main/src/main/java/io/prestosql/operator/exchange/LocalPartitionGenerator.java/LocalPartitionGenerator/getPartitionCount
class LocalPartitionGenerator:    @Override
    public int getPartitionCount()
    {
        return partitionCount;
    }