Was M3 produced by a film producer that M1 's director founded and directed by M2 's actor 's spouse
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:organization.organization.founders ?x1 .
?x1 ns:film.director.film M1 .
?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 ?x3 .
?x3 ns:film.actor.film/ns:film.performance.character M2 .
FILTER ( ?x2 != ?x3 ) .
M3 ns:film.film.directed_by ?x2 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}