question: Were M2 and M5 written by a American cinematographer of M1 , executive produced by M3 , and written by M4
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:people.person.nationality ns:m.09c7w0 .
  M2 ns:film.film.executive_produced_by M3 .
  M2 ns:film.film.written_by ?x0 .
  M2 ns:film.film.written_by M4 .
  M5 ns:film.film.executive_produced_by M3 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by M4
  }