I've been reading about gauge theory quantization, and understand it mostly. The only thing I don't get is why people talk about "ghost number conservation".
As far as I can tell, the ghost number is a quantity defined to be $+1$ for ghost and $-1$ for antighost fields. It is then claimed that total ghost number is conserved for the action. I don't understand what is means for something to be "conserved for an action". I only know what it means for something to be conserved in classical or quantum evolution. Alternatively I know what it means for an action to be invariant under a transformation.
Is this just bad nomenclature? I'm worried about it for the following reason.
In the quantum theory there is a quantum "ghost number" operator which operates on the Fock space of the theory and tells you the cumulative ghosts $-$ antighosts in your state. I've seen it argued that this must commute with the Hamiltonian because "ghost number is conserved in the action". This seems pretty fundamental, but the logic seems flawed because I don't understand the terminology.
Maybe everyone just means that the ghost number is $0$, which is obvious. But this seems like too simple an explanation (why would people call it conserved, when $0$ is significantly shorter?!)