Were M3 and M4 directed by M2 's writer and star and edited by a screenwriter that was influenced by M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.writer.film M2 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.edited_by ?x0 .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.edited_by ?x0
}