---
title: count
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkseriessample/count
---

# count

The number of items in the series.

## Declaration

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

## Discussion

Discussion You can access the items in the series using the corresponding query. For example, to access route data, use a HKWorkoutRouteQuery object.
