How many matrices with entries from are there, for which the sum of the diagonal entries is 5?

a) 1
b) 2
c) 3
d) 4