# `GSGlyph.changeCount`

*Instance Property*

The pending glyph edit count used for glyph-specific autosaving and change indicators.

## Declaration

```swift
var changeCount: Int { get set }
```

```objc
@property (nonatomic, assign) NSInteger changeCount;
```

```python
changeCount() -> int
setChangeCount_(changeCount: int)
```

## Discussion

Edits, undo, and redo adjust this value.

## See Also

### Change Tracking

- [`GSGlyph outlineHasChanges`](/Core/GlyphsCore/GSGlyph/outlineHasChanges) — Invalidates shape-derived caches for every stored layer.
- [`GSGlyph.lastOperation`](/Core/GlyphsCore/GSGlyph/lastOperation) — The date of the most recent operation used to invalidate glyph-dependent caches.

