Were M2 , M3 , M4 , M5 , and M6 edited by M1 's executive producer and edited by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.edited_by ?x1 .
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 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.edited_by ?x1
}