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