question: Was a film that starred M1 and was edited by M2 written by a production company
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.edited_by M2 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 a ns:film.production_company
  }