allows count_out to be 0 to disable outer links