question: Were M3 and M5 executive produced by M4 , written by a actor , and written by M0 's American writer
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.nationality ns:m.09c7w0 .
  ?x1 a ns:film.actor .
  M3 ns:film.film.executive_produced_by M4 .
  M3 ns:film.film.written_by ?x0 .
  M3 ns:film.film.written_by ?x1 .
  M5 ns:film.film.executive_produced_by M4 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by ?x1
  }