Did M3 's German spouse 's spouse executive produce M1 's sequel and executive produce M0
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
?x1 ns:film.film.prequel M1 .
?x2 ns:people.person.nationality ns:m.0345h .
?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3 .
FILTER ( ?x0 != ?x2 ) .
FILTER ( ?x2 != M3 )
}