question: Was M3 written by a cinematographer , directed by M2 's star , and executive produced by M0 's employee
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M0 .
  ?x1 a ns:film.cinematographer .
  ?x2 ns:film.actor.film/ns:film.performance.film M2 .
  M3 ns:film.film.directed_by ?x2 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by ?x1
  }