Network distance
Network distance lists how many routers are between you and your target—the distance for localhost is 0, 1 for a device on the same network segment. Each additional router on the path adds one hop to the count. Again, the line is omitted if Nmap cannot compute it (due to no reply to the relevant probe).