Was M2 executive produced by and directed by M1 's sequel 's male writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.film.prequel M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.executive_produced_by ?x0
}