# equation_count_fix_e804b0bc > The `count_equations_in_file()` function in `book-metrics.py` was significantly over-counting LaTeX equations. For example, a signal processing textbook showed 2,421 equations when the actual count was much lower. - Author: SkillFlow - Repository: tools-only/X-Skills - Version: 20260202191322 - Stars: 2 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/tools-only/X-Skills - Web: https://mule.run/skillshub/@@tools-only/X-Skills~equation_count_fix_e804b0bc:20260202191322 --- # Equation Counting Bug Fix | Property | Value | |----------|-------| | **Name** | Equation Counting Bug Fix | | **Repository** | [dmccreary/claude-skills](https://raw.githubusercontent.com/dmccreary/claude-skills/main/src/book-metrics/EQUATION_COUNT_FIX.md) (⭐ 14) | | **Original Path** | `src/book-metrics/EQUATION_COUNT_FIX.md` | | **Category** | development | | **Subcategory** | coding | | **Tags** | development | | **Created** | 2025-11-25 | | **Updated** | 2025-11-25 | | **File Hash** | `e804b0bc980a21c0...` | ## Description The count_equations_in_file() function in bookmetrics.py was significantly overcounting LaTeX equations. For example, a signal processing textbook showed 2,421 equations when the actual count was much lower. **Tags:** `development` --- *This skill is maintained by [SkillFlow](https://github.com/tools-only/SkillFlow)* *Source: [dmccreary/claude-skills](https://raw.githubusercontent.com/dmccreary/claude-skills/main/src/book-metrics/EQUATION_COUNT_FIX.md)*