The number of matrices of order \( 3 \times 3 \), whose entries are either \( 0 \) or \( 1 \) and the sum of all the entries is a prime number, is__________.