Was M2 a screenwriter that a cinematographer was influenced by , M4 influenced , and a art director influenced
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 a ns:film.film_art_director .
M2 a ns:film.writer .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M4
}