public Optional<Integer> count() {
        return Optional.ofNullable(this.count);
    }
@return Count is used only when the count mode is &#34;ExactCount&#34;. Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta2/outputs/DeviceSubRequest.java