Were M3 and M4 influenced by a art director , influenced by a film producer , and influenced by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.producer .
?x2 a ns:film.film_art_director .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by ?x2 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by ?x2
}