scipy.sparse.bsr_matrix
scipy.sparse.bsr_matrix.has_sorted_indices
Number of stored values, including explicit zeros.
See also