Let
where ∣A∣ denotes the determinant of A.
Then the number of elements in S is __________.
The answer is a non-negative integer.