get right num of unlinks