contrary to other Frequent Flier programs handling of this Promotion, miles&more emailed some of us, that they 'count' the carrier that is is booked on = flight number'.
'Ausschlaggebend ist immer die im Ticket gebuchte Flugnummer, so dass in dem von Ihnen erwaehnten Beispiel die LH-Flugnummer beruecksichtigt wuerde.'
In your case that would mean, that miles&more considers all these flights to be LH flights (only). But who really knows, how miles&more (and their computer) will really handle this?