Dichromate reduction is a classic redox process:
Each $\text{Cr}$ in $\text{Cr}_2\text{O}_7^{2-}$ is in the $+6$ state. Two $\text{Cr}^{+6}$ ions are reduced to two $\text{Cr}^{3+}$ ions.
The change in oxidation state per chromium is $3$, so for two chromium atoms, a total of $2 \times 3 = 6$ electrons are transferred.
This immediately identifies 6 as the number of electrons!