Was M2 edited by a American editor of M1 , M2 , M3 , and M4 and written by M5
SELECT count(*) WHERE {
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M3 .
?x0 ns:film.editor.film M4 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.written_by M5
}