proc: calculate the correct /proc/<pid> link count