presto-plugin-toolkit/src/main/java/io/prestosql/plugin/base/jmx/RebindSafeMBeanServer.java/RebindSafeMBeanServer/getMBeanCount
class RebindSafeMBeanServer:    @Override
    public Integer getMBeanCount()
    {
        return mbeanServer.getMBeanCount();
    }