Did M2 edit and write a film executive produced by and directed by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.executive_produced_by M1 .
M2 ns:film.editor.film ?x0 .
M2 ns:film.writer.film ?x0
}