---
title: estimatedAssetCount
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetcollection/estimatedassetcount
---

# estimatedAssetCount

The estimated number of assets in the asset collection.

## Declaration

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

## Discussion

Discussion This count may not match the current number of assets in the collection. To get the most recent count, fetch the collection’s assets with the fetchAssets(in:options:) method and read the count property of the fetch result. If asset count information is not available for the collection, this property’s value is NSNotFound.

## See Also

### Reading Asset Collection Metadata

- [assetCollectionType](photos/phassetcollection/assetcollectiontype.md)
- [PHAssetCollectionType](photos/phassetcollectiontype.md)
- [assetCollectionSubtype](photos/phassetcollection/assetcollectionsubtype.md)
- [PHAssetCollectionSubtype](photos/phassetcollectionsubtype.md)
- [startDate](photos/phassetcollection/startdate.md)
- [endDate](photos/phassetcollection/enddate.md)
- [approximateLocation](photos/phassetcollection/approximatelocation.md)
- [localizedLocationNames](photos/phassetcollection/localizedlocationnames.md)
