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

# count

Returns the number of elements in the buffer.

## Declaration

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