public Builder metrics(Metrics metrics) {
            this.metrics = metrics;
            return this;
        }
Returns the number of models created successfully by this instance
configserver/src/test/java/com/yahoo/vespa/config/server/deploy/DeployTester.java