---
title: bucketCount
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxhistogrambucket/bucketcount
---

# bucketCount

An integer representing the number of samples in the bucket.

## Declaration

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

## See Also

### Reading the Data

- [bucketStart](metrickit/mxhistogrambucket/bucketstart.md)
- [bucketEnd](metrickit/mxhistogrambucket/bucketend.md)
