The Maxwell's Lagrangian density is given by the equation, $$\mathcal L = -\frac{1}{4} \space F_{\mu\nu} \space F^{\mu\nu},$$ where $F^{\mu\nu} = \partial^\mu A^\nu - \partial^\nu A^\mu$.
Hence, one can rewrite the Lagrangian density into the following, $$\mathcal L= \frac{1}{4} (\partial_\mu A_\nu - \partial_\nu A_\mu) (\partial^\mu A^\nu - \partial^\nu A^\mu ). $$ This means that one can show that, $$ \frac{\partial \mathcal L}{\partial(\partial_\mu A_ \nu)} = -\partial^\mu A^\nu + (\partial_\rho A^\rho) \space \eta^{\mu\nu}. $$
But some references from page 9 of this page, and page 16 of this page, show that this expression can be written as, $$ \frac{\partial \mathcal L}{\partial(\partial_\mu A_ \nu)} = F^{\nu\mu} = (\partial^\nu A^\mu - \partial^\mu A^\nu ) = -\partial^\mu A^\nu + \partial^\nu A^\mu. $$ This means that, $$\partial^\nu A^\mu = (\partial_\rho A^\rho) \space \eta^{\mu\nu}. $$ But the only way that they are equal is that if I allow my dummy index $\rho$ to be equal to either $\nu$ or $\mu$. But it means that I allow my index to be repeated more than twice?