I was reading about modular arithmetic. The congruencies modulo $m$ are equivalence relations. The textbook says that for the relation $a\equiv b\pmod m$ the quotient set of the equivalence classes are $Z/m={0,1,...,m-1}$ where each number represents the modulo $m$. So my question is: Why are there $m$ equivalence classes and why they end at $m-1$? If I have $a\equiv b\pmod 1$ then the equivalence classes are $$\begin{split} R(0)&= [a \in \mathbb{Z}]\\ R(1)&=[a \in \mathbb{Z}, b \in \mathbb{Z}: a=b-1]\\ \end{split}$$
which are two, not 1 .