question: Were M2 , M3 , and M4 executive produced by a film 's producer , cinematographer , and director and edited by a screenwriter
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film ?x1 .
  ?x0 ns:film.director.film ?x1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
  ?x1 a ns:film.film .
  ?x2 a ns:film.writer .
  M2 ns:film.film.edited_by ?x2 .
  M2 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.edited_by ?x2 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M4 ns:film.film.edited_by ?x2 .
  M4 ns:film.film.executive_produced_by ?x0
  }