---
title: SearchCount
framework: corespotlight
role: symbol
role_heading: Structure
path: corespotlight/searchcount
---

# SearchCount

A scalar count result (e.g., “47 emails from John”).

## Declaration

```swift
struct SearchCount
```

## Topics

### Creating the search count

- [init(value:header:)](corespotlight/searchcount/init(value:header:).md)

### Getting the counted information

- [header](corespotlight/searchcount/header.md)
- [value](corespotlight/searchcount/value.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Search results

- [SearchResultsTable](corespotlight/searchresultstable.md)
- [SearchStatistic](corespotlight/searchstatistic.md)
- [SearchTextResult](corespotlight/searchtextresult.md)
