private static NodeResources.GpuResources parseOptionalGpuResources(ModelElement element) {
        if (element == null) return NodeResources.GpuResources.getDefault();
        String type = element.stringAttribute("type");
        int count = element.requiredIntegerAttribute("count");
        double memory = parseGbAmount(element.requiredStringAttribute("memory"), "B");
        return new NodeResources.GpuResources(type, count, memory);
    }
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