LaTeX Error: No counter ‘…’ defined

Description

A counter manipulation command (\setcounter, \stepcounter) referenced an undeclared counter.

Remediation

Define the counter first with \newcounter{...} or check for spelling typos.