Was M3 executive produced by and edited by a screenwriter employed by M1 and employed by M2
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.executive_produced_by ?x0
}