---
title: SKSearchResultsGetCount
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.3+]
path: coreservices/1448598-sksearchresultsgetcount
---

# SKSearchResultsGetCount

Gets the total number of found items in a search.

## Declaration

```occ
CFIndex SKSearchResultsGetCount(SKSearchResultsRef inSearchResults);
```

## Parameters

- `inSearchResults`: A search results object containing the results of a query.

## Return Value

Return Value A CFIndex object containing the total number of found items in a search.

## See Also

### Legacy Support for Synchronous Searching

- [SKSearchGroupCreate](coreservices/1448627-sksearchgroupcreate.md)
- [SKSearchGroupCopyIndexes](coreservices/1448615-sksearchgroupcopyindexes.md)
- [SKSearchGroupGetTypeID](coreservices/1448637-sksearchgroupgettypeid.md)
- [SKSearchResultsCreateWithDocuments](coreservices/1448629-sksearchresultscreatewithdocumen.md)
- [SKSearchResultsGetInfoInRange](coreservices/1448618-sksearchresultsgetinfoinrange.md)
- [SKSearchResultsCopyMatchingTerms](coreservices/1448612-sksearchresultscopymatchingterms.md)
- [SKSearchResultsGetTypeID](coreservices/1448603-sksearchresultsgettypeid.md)
- [SKSearchResultsCreateWithQuery](coreservices/1448610-sksearchresultscreatewithquery.md)
