Were M3 and M4 executive produced by M1 's American editor and written by M2 's employee
SELECT count(*) WHERE {
?x0 ns:film.editor.film M1 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1
}