Consider a square matrix A of order 2 which has its elements as 0, 1, 2, and 4. Let n denote the number of such matrices. What is the value of n?