nnz builtin · libnexusinterp/corefcn/data-proprietary.cc : n = nnz (a) ¶ Return the number of nonzero elements of a.