The number of \( 3 \times 2 \) matrices \( A \), which can be formed using the elements of the set \( \{-2,-1,0,1,2\} \) such that the sum of all the diagonal elements of \( A^T A \) is \( 5 \), is ________.