question: Was M1 written by M2 , written by a film 's art director , produced by M3 , and edited by M4
query: SELECT count(*) WHERE {
  ?x0 ns:film.film_art_director.films_art_directed ?x1 .
  ?x1 a ns:film.film .
  M1 ns:film.film.edited_by M4 .
  M1 ns:film.film.produced_by|ns:film.film.production_companies M3 .
  M1 ns:film.film.written_by ?x0 .
  M1 ns:film.film.written_by M2
  }