Was M0 's male executive producer M2 's writer 's actor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.writer.film M2
}