Did M3 produce a film produced , edited , executive produced , and written by M1 's male actor
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
?x1 ns:people.person.gender ns:m.05zppz .
M3 ns:film.producer.film|ns:film.production_company.films ?x0
}