<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/AIModelAsset/Summary/OperationCount",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:11CoreAIAsset12AIModelAssetV7SummaryV14OperationCountV"
  },
  "title" : "AIModelAsset.Summary.OperationCount"
}
-->

# AIModelAsset.Summary.OperationCount

A model operation and the number of times it occurs.

```
struct OperationCount
```

## Topics

### Inspecting operation details

[`var operationName: String`](/documentation/CoreAI/AIModelAsset/Summary/OperationCount/operationName)

The name of the operation.

[`var count: Int`](/documentation/CoreAI/AIModelAsset/Summary/OperationCount/count)

The number of times this operation occurs in the model.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)