---
title: count
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/collectbycount/count
---

# count

The maximum number of received elements to buffer before publishing.

## Declaration

```swift
let count: Int
```

## See Also

### Inspecting publisher properties

- [upstream](combine/publishers/collectbycount/upstream.md)
