Let \( S = \left\{ m \in \mathbb{Z} : A^m + A^m = 3I - A^{-6} \right\} \), where
Then \( n(S) \) is equal to ______.