Was a film that M5 and M6 directed and M2 , M3 , and M4 wrote M0
SELECT count(*) WHERE {
M0 a ns:film.film .
M0 ns:film.film.directed_by M5 .
M0 ns:film.film.directed_by M6 .
M0 ns:film.film.written_by M2 .
M0 ns:film.film.written_by M3 .
M0 ns:film.film.written_by M4
}