FRA-MAD will count unless you ticket it as FRA-SCL (ie no stopover in MAD).
Are the // really surface segments? Looks like you want almost all your intercontinental legs to be on separate tickets (which massively diminishes the value of xONEx and actually not allowed except in limited circumstances).
Some other problems include too many segments (maximum 16 which includes the surface segments)