I think pretty much every airline only doesn't count technical stops, one flight number equals one segment. For example, on Qantas QF 107 is the code for the SYD-LAX-JFK flight and it is counted as one segment, even though you change aircraft at LAX. If you take on of their other SYD-LAX flights and then connect to 107 at LAX, it counts as two.