Question: Implement a procedure

Implement a procedure that calculates the number of all non-zero elements of a given matrix, and apply this procedure to the matrix: 

Please Wait...