private static Pair<NodeResources, NodeResources> nodeResources(ModelElement nodesElement) {
        ModelElement resources = nodesElement.child("resources");
        return resources == null
                ? new Pair<>(NodeResources.unspecified(), NodeResources.unspecified())
                : nodeResourcesFromResourcesElement(resources);
    }
Returns whether the count attribute was present on the {@code <nodes>} element.
config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/NodesSpecification.java