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