---
title: searchResultsCount
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchforphotosintentresponse/searchresultscount-82lnb
---

# searchResultsCount

The number of photos that match the search parameters.

## Declaration

```swift
@nonobjc final var searchResultsCount: Int? { get set }
```

## Discussion

Discussion Use this property to specify the number of photos found during the search. Typically, you assign a value to this property only after handling the intent. During the confirmation phase, you can set the value of this property set to 0.
