Let be a set of \( 2 \times 2 \) matrices. Then the number of matrices in \( S \), for which the sum of the diagonal elements is equal to \( 4 \), is:
\( 20 \)
\( 17 \)
\( 21 \)
\( 19 \)