Was M0 's prequel directed by a actor 's spouse and executive produced by M1 , M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.executive_produced_by M2 .
?x0 ns:film.film.executive_produced_by M3 .
?x0 ns:film.film.executive_produced_by M4 .
?x0 ns:film.film.sequel M0 .
?x1 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 .
?x2 a ns:film.actor .
FILTER ( ?x1 != ?x2 )
}