question: Were M0 , M6 , and M7 directed by M4 and M5 and written by M1 , M2 , and M3
query: SELECT count(*) WHERE {
  M0 ns:film.film.directed_by M4 .
  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 .
  M6 ns:film.film.directed_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 .
  M7 ns:film.film.directed_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
  }