---
title: totalBucketCount
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxhistogram/totalbucketcount
---

# totalBucketCount

The total number of buckets in the histogram.

## Declaration

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

## See Also

### Reading the buckets

- [bucketEnumerator](metrickit/mxhistogram/bucketenumerator.md)
- [MXHistogramBucket](metrickit/mxhistogrambucket.md)
