Was M1 influenced by a film 's director , executive producer , and cinematographer and influenced by M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x1 a ns:film.film .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:influence.influence_node.influenced_by M2
}