we will find number of non-zero elements on each rows
and then we add them
First row:
we can see that non-zero elements are
2 , 3.1 , 22 , 9
so, number of non-zero elements in first row =4
Second row:
we can see that non-zero elements are
21 , 3.2 , 6
so, number of non-zero elements in first row =3
Third row:
we can see that non-zero elements are
1 , 42 , 8
so, number of non-zero elements in first row =3
Fourth row:
we can see that non-zero elements are
40 ,4 , 6,14
so, number of non-zero elements in first row =4
Fifth row:
we can see that non-zero elements are
10 , 20 , 13 , 5 , 6.3
so, number of non-zero elements in first row =5
now, we can add them
so,
total number of non-zero elements = 4 +3+3+4+5
so,
total number of non-zero elements is 19...........Answer