Were M3 and M4 founded by a film 's executive producer and writer and founded by a male producer of M0
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film .
M3 ns:organization.organization.founders ?x0 .
M3 ns:organization.organization.founders ?x1 .
M4 ns:organization.organization.founders ?x0 .
M4 ns:organization.organization.founders ?x1
}