Did M4 and M5 edit a film written by M1 and written by M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x0 ns:film.film.written_by M3 .
M4 ns:film.editor.film ?x0 .
M5 ns:film.editor.film ?x0
}