---
title: count()
framework: combine
role: symbol
role_heading: Instance Method
path: combine/just/count()
---

# count()

## Declaration

```swift
func count() -> Just<Int>
```

## See Also

### Applying mathematical operations on elements

- [max()](combine/just/max().md)
- [max(by:)](combine/just/max(by:).md)
- [min()](combine/just/min().md)
- [min(by:)](combine/just/min(by:).md)
