# `GSBaseObject countOfTempData`

*Instance Method*

The number of temporary values.

## Declaration

```swift
func countOfTempData() -> Int
```

```objc
- (NSInteger) countOfTempData;
```

```python
countOfTempData() -> int
```

## See Also

### Temporary Data

- [`GSBaseObject.tempData`](/Core/GlyphsCore/GSBaseObject/tempData) — Values associated with the object for transient use.
- [`GSBaseObject tempDataForKey:`](/Core/GlyphsCore/GSBaseObject/tempDataForKey:) — The temporary value for a key, or `nil` if no value is set.
- [`GSBaseObject setTempData:forKey:`](/Core/GlyphsCore/GSBaseObject/setTempData:forKey:) — Sets or removes a temporary value.

