Let $A=\left[a_{i j}\right]$ be a matrix of order $3 \times 3$, with $\mathrm{a}_{i j}=(\sqrt{2})^{i+j}$. If the sum of all the elements in the third row of $A^{2}$ is $\alpha+\beta \sqrt{2}, \alpha, \beta \in \mathbf{Z}$, then $\alpha+\beta$ is equal to :