---
title: playCount
framework: musickit
role: symbol
role_heading: Instance Property
path: musickit/track/playcount
---

# playCount

The number of times the user played the track.

## Declaration

```swift
var playCount: Int? { get }
```
