---
title: trackCount
framework: musickit
role: symbol
role_heading: Instance Property
path: musickit/libraryalbumsortproperties/trackcount
---

# trackCount

The number of tracks for the album.

## Declaration

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