@Override
            public Integer value() {
                return migratingZkBrokerCount();
            }
Create a new ControllerMetadataMetrics object.

@param registry The metrics registry, or Optional.empty if this is a test and we don't have one.
metadata/src/main/java/org/apache/kafka/controller/metrics/ControllerMetadataMetrics.java