The Lagrangian density for the interaction term of the bosons $W_1,W_2,W_3,B$ in the electroweak theory is
$$ \mathcal{L}_g=-\frac{1}{4}\operatorname{Tr}(W^{\mu\nu}_aW_{\mu\nu}^a)-\frac{1}{4}B^{\mu\nu}B_{\mu\nu} $$
The wikipedia article about Electroweak interaction claims that $W$ and $B$ are the field strength tensors and then links to the field strength tensor of electromagnetism. So, do these tensors are of the same mathematical structure as the one of electromagnetism, except there are 4 of them?
In electromagnetism, $$ F^{\mu\nu}=\pmatrix{0 & -E_x/c & -E_y/c & E_z/c\\E_x/c&0&-B_z&B_y\\E_y/c & B_z& 0&-B_x\\E_z/c&-B_y&B_x&0} $$
The theory has 6 degrees of freedom.
Are the four tensors of $W$, $B$ of the same structure, expect the variables are different and independent in each tensor? For instance:
$$ W^{\mu\nu}_1=\pmatrix{0 & -A_x/c & -A_y/c & A_z/c\\A_x/c&0&-C_z&C_y\\A_y/c & C_z& 0&-C_x\\A_z/c&-C_y&C_x&0} $$
$$ W^{\mu\nu}_2=\pmatrix{0 & -D_x/c & -D_y/c & D_z/c\\D_x/c&0&-G_z&G_y\\D_y/c & G_z& 0&-G_x\\D_z/c&-G_y&G_x&0} $$
$$ W^{\mu\nu}_3=\pmatrix{0 & -H_x/c & -H_y/c & H_z/c\\H_x/c&0&-K_z&K_y\\H_y/c & K_z& 0&-K_x\\H_z/c&-K_y&K_x&0} $$
$$ B^{\mu\nu}=\pmatrix{0 & -V_x/c & -V_y/c & V_z/c\\V_x/c&0&-U_z&U_y\\V_y/c & U_z& 0&-U_x\\V_z/c&-U_y&U_x&0} $$
And has 24 degrees of freedom?
That seems like a ton of degrees of freedom, so where did I mess up?
Finally, do the connection between $-\frac{1}{4}\operatorname{Tr}(W^{\mu\nu}_aW_{\mu\nu}^a)$ and $SU(2)$ and between $-\frac{1}{4}B^{\mu\nu}B_{\mu\nu}$ and $U(1)$ somehow causes the degrees of freedom to drop to $3$ and $1$ respectively --- how?