Was a film written by M5 's editor , director , and producer and edited by M1 , M2 , M3 , and M4
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.edited_by M3 .
?x0 ns:film.film.edited_by M4 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.director.film M5 .
?x1 ns:film.editor.film M5 .
?x1 ns:film.producer.film|ns:film.production_company.films M5
}