Were M3 , M4 , and M5 edited by a screenwriter and edited by a film producer that M2 was edited by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.producer .
?x1 ns:film.editor.film M2 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.edited_by ?x1 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.edited_by ?x1 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.edited_by ?x1
}