question: Was M3 directed by M4 , written by a Mexican cinematographer of M2 , and executive produced by M0 's producer
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x1 ns:film.cinematographer.film M2 .
  ?x1 ns:people.person.nationality ns:m.0b90_r .
  M3 ns:film.film.directed_by M4 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by ?x1
  }