Fixed hardlink count bug