Add count_nonzero.