# `GSLayer countOfPostScriptHints`

*Instance Method*

The number of PostScript hints.

## Declaration

```swift
func countOfPostScriptHints() -> UInt
```

```objc
- (NSUInteger) countOfPostScriptHints;
```

```python
countOfPostScriptHints() -> int
```

## Discussion

If the layer has no own hints, component layers are included.

## See Also

### Hints

- [`GSLayer.hints`](/Core/GlyphsCore/GSLayer/hints) — Layer hints.
- [`GSLayer.hintsFast`](/Core/GlyphsCore/GSLayer/hintsFast) — Low-level hint storage access.
- [`GSLayer countOfHints`](/Core/GlyphsCore/GSLayer/countOfHints) — The number of stored hints.
- [`GSLayer indexOfObjectInHints:`](/Core/GlyphsCore/GSLayer/indexOfObjectInHints:) — The index of a hint in the layer.
- [`GSLayer hintWithKey:`](/Core/GlyphsCore/GSLayer/hintWithKey:) — The hint for a stable hint key.
- [`GSLayer objectInHintsAtIndex:`](/Core/GlyphsCore/GSLayer/objectInHintsAtIndex:) — The hint at an index.

