Were M0 , M6 , and M7 written by M1 , written by M2 , M3 , and M4 , and directed by M5
SELECT count(*) WHERE {
M0 ns:film.film.directed_by M5 .
M0 ns:film.film.written_by M1 .
M0 ns:film.film.written_by M2 .
M0 ns:film.film.written_by M3 .
M0 ns:film.film.written_by M4 .
M6 ns:film.film.directed_by M5 .
M6 ns:film.film.written_by M1 .
M6 ns:film.film.written_by M2 .
M6 ns:film.film.written_by M3 .
M6 ns:film.film.written_by M4 .
M7 ns:film.film.directed_by M5 .
M7 ns:film.film.written_by M1 .
M7 ns:film.film.written_by M2 .
M7 ns:film.film.written_by M3 .
M7 ns:film.film.written_by M4
}