Was M2 a Spanish employee of a country of nationality of M0 and M1
SELECT count(*) WHERE {
?x0 ^ns:people.person.nationality M0 .
?x0 ^ns:people.person.nationality M1 .
M2 ns:people.person.employment_history/ns:business.employment_tenure.company ?x0 .
M2 ns:people.person.nationality ns:m.06mkj
}