Were M3 , M5 , M6 , and M7 written by M4 and executive produced by M0 's American female executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by M4 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.written_by M4 .
M6 ns:film.film.executive_produced_by ?x0 .
M6 ns:film.film.written_by M4 .
M7 ns:film.film.executive_produced_by ?x0 .
M7 ns:film.film.written_by M4
}