Was M3 edited by M1 's American actor , written by M4 , and edited by a film director
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
?x1 a ns:film.director .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.written_by M4
}