presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/getHashPartitionCount
class SystemSessionProperties:    public static int getHashPartitionCount(Session session)
    {
        return session.getSystemProperty(HASH_PARTITION_COUNT, Integer.class);
    }