Were M2 and M5 executive produced by M3 , directed by a male producer of M0 , and edited by M4
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:people.person.gender ns:m.05zppz .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.executive_produced_by M3 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.edited_by M4 .
M5 ns:film.film.executive_produced_by M3
}