Was a film written by M1 , M2 , and M3 edited by and written by M4 and M5
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by M4 .
?x0 ns:film.film.edited_by M5 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x0 ns:film.film.written_by M3 .
?x0 ns:film.film.written_by M4 .
?x0 ns:film.film.written_by M5
}