updating glyph count