renamed nnz --> countnz