Were M2 , M4 , M5 , and M6 influenced by M3 , influenced by a art director , and influenced by M1 's star
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by M3 .
M5 ns:influence.influence_node.influenced_by ?x0 .
M5 ns:influence.influence_node.influenced_by ?x1 .
M5 ns:influence.influence_node.influenced_by M3 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by ?x1 .
M6 ns:influence.influence_node.influenced_by M3
}