Was a male person that M3 was executive produced by and M2 was written by M0
SELECT count(*) WHERE {
M0 a ns:people.person .
M0 ns:film.producer.films_executive_produced M3 .
M0 ns:film.writer.film M2 .
M0 ns:people.person.gender ns:m.05zppz
}