Did M3 write a film edited by and executive produced by M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.executive_produced_by M2 .
M3 ns:film.writer.film ?x0
}