Were M2 and M4 influenced by a film 's writer , influenced by M1 's editor , and influenced by M3
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
?x2 ns:film.editor.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x2 .
M2 ns:influence.influence_node.influenced_by M3 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x2 .
M4 ns:influence.influence_node.influenced_by M3
}