Were M3 and M7 directed by a American star of M1 and M2 and executive produced by M4 , M5 , and M6
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.executive_produced_by M4 .
M3 ns:film.film.executive_produced_by M5 .
M3 ns:film.film.executive_produced_by M6 .
M7 ns:film.film.directed_by ?x0 .
M7 ns:film.film.executive_produced_by M4 .
M7 ns:film.film.executive_produced_by M5 .
M7 ns:film.film.executive_produced_by M6
}