Gauge bosons are represented by $A_{\mu}$, where $\mu = 0,1,2,3$. So in general there are 4 degrees of freedom. But in reality, a photon (gauge boson) has two degrees of freedom (two polarization states).
So, when someone asks about on-shell and off-shell degrees of freedom, I thought they are 2 and 4. But I read that the off-shell d.of. are 3.
And my question is how to see this?