In other cases a direct flight is one segment regardless of whether it is non stop or has multiple stops
IATA definition of ssegmnt is
The operation between board point and any subsequent off point within the same flight number.
I would be very surprised if PEK-LAS was counted as anything other than 1 segment