Let \( A \) be a \( 3 \times 3 \) matrix with real entries such that:
\[ A = \begin{bmatrix} 4 & -1 & \cos x \\ -1 & 5x & 25x^2 + 1 \\ 25 & 7 & ? \end{bmatrix} \]
For how many values of \( x \) is the matrix \( A \) symmetric?