scipy.sparse.bsr_matrix.getnnz

bsr_matrix.getnnz()

This Page