---
title: count
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/ikrig/constraintscollection/count
---

# count

The number of elements in the collection.

## Declaration

```swift
var count: Int { get }
```
