Was M2 a film written by M4 and directed by M0 's male executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:people.person.gender ns:m.05zppz .
M2 a ns:film.film .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by M4
}