Were M2 and M3 produced by a screenwriter 's American actor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
?x1 a ns:film.writer .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}