Let $J= \begin{pmatrix} 0 & 1 & -9 \\ -1 & 0 & 4 \\ 9 & -4 & 0 \\ \end{pmatrix} $, $V=\{A \in M_{3 \times 3}(\mathbb R)|AJ=JA^T \}$.
Find the dimension of V. Justify your answer.
I already know the answer of this question: the dimension of $V$ is 6.(This is not sure, since I solved it a long time ago.) I solved this question by letting $A= \begin{pmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \\ \end{pmatrix} $ and just substituting into $AJ=JA^T$, but this solution is somewhat messy, since it includes system of linear equations with 9 variables.
Is there more elegant solution for this problem without having to deal with such complicated equations?