ENH function to return nnz per row/column in some sparse matrices