question: Did M3 produce and direct a film that M1 and M2 edited and wrote
query: 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.written_by M1 .
  ?x0 ns:film.film.written_by M2 .
  M3 ns:film.director.film ?x0 .
  M3 ns:film.producer.film|ns:film.production_company.films ?x0
  }