Was a film director influenced by M1 and M2 and influenced by a cinematographer , director , and writer of M3
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:film.director.film M3 .
?x1 ns:film.writer.film M3
}