Was M4 executive produced and directed by a American writer of M0 , M1 , and M2
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.executive_produced_by ?x0
}