Did a screenwriter influence M1 , M2 , and M3 and influence M4 's editor and executive producer
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x1 ns:film.editor.film M4 .
?x1 ns:film.producer.films_executive_produced M4
}