Was M2 influenced by M0 's actor and influenced by M1 's writer and art director
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M0 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.writer.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1
}