# `GSFont countOfGlyphsWithInfosByName:`

*Instance Method*

Returns the number of matches found for local or imported glyph infos in the font.

## Declaration

```swift
func countOfGlyphsWithInfos(byName glyphInfos: [GSGlyphInfo]) -> UInt
```

```objc
- (NSUInteger) countOfGlyphsWithInfosByName:(NSArray<GSGlyphInfo *> *) glyphInfos;
```

```python
countOfGlyphsWithInfosByName_(glyphInfos: list[GSGlyphInfo]) -> int
```

## Parameters

- `glyphInfos` — Glyph infos to check.

## Discussion

A glyph info can resolve by name, Unicode code point, or alternate name depending on the font’s naming mode. A glyph info with multiple Unicode code points can contribute more than one match.

## See Also

### Exporting Glyphs

- [`GSFont.exportingGlyphNames`](/Core/GlyphsCore/GSFont/exportingGlyphNames) — The names of the local and imported glyphs that are included in export.
- [`GSFont filterKeepGlyphsCodes:`](/Core/GlyphsCore/GSFont/filterKeepGlyphsCodes:) — Returns the glyph names for Unicode code points that resolve to local or imported glyphs included in export.
- [`GSFont keepsGlyphs:`](/Core/GlyphsCore/GSFont/keepsGlyphs:) — Returns whether all named local or imported glyphs are present and included in export.
- [`GSFont keepsGlyphsCode:`](/Core/GlyphsCore/GSFont/keepsGlyphsCode:) — Returns whether all Unicode code points resolve to local or imported glyphs included in export.
- [`GSFont filterKeepGlyphs:`](/Core/GlyphsCore/GSFont/filterKeepGlyphs:) — Returns the names of local or imported glyphs that are present and included in export.
- [`GSFont filterGlyphs:`](/Core/GlyphsCore/GSFont/filterGlyphs:) — Returns the names and Unicode queries that resolve to local or imported glyphs in the font.
- [`GSFont countOfGlyphsWithCode:`](/Core/GlyphsCore/GSFont/countOfGlyphsWithCode:) — Returns the number of Unicode code points that resolve to local or imported glyphs in the font.

