Did a director of M1 influence M2 's director and producer and marry M0
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:influence.influence_node.influenced ?x1 .
?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 M0 .
?x1 ns:film.director.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
FILTER ( ?x0 != M0 )
}