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