---
title: count
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsspeechsynthesizer/speechpropertykey/errorkey/count
---

# count

The number of errors that have occurred in processing the current text string, since the last call to object(forProperty:) with the errors property.  An NSNumber

## Declaration

```swift
static let count: NSSpeechSynthesizer.SpeechPropertyKey.ErrorKey
```

## Discussion

Discussion Using the oldestCode keys and the newestCode keys, you can get information about the oldest and most recent errors that occurred since the last call to object(forProperty:), but you cannot get information about any intervening errors.

## See Also

### Type Properties

- [newestCharacterOffset](appkit/nsspeechsynthesizer/speechpropertykey/errorkey/newestcharacteroffset.md)
- [newestCode](appkit/nsspeechsynthesizer/speechpropertykey/errorkey/newestcode.md)
- [oldestCharacterOffset](appkit/nsspeechsynthesizer/speechpropertykey/errorkey/oldestcharacteroffset.md)
- [oldestCode](appkit/nsspeechsynthesizer/speechpropertykey/errorkey/oldestcode.md)
