answer=NNZ(matrix)
Calculates the number of non zero elements within a matrix.
NNZ([1,0,2;0,0,5]) = 3