nnz -> countnz