Was M6 edited by and executive produced by a screenwriter that M1 , M2 , M3 , M4 , and M5 employed
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 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M5 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.executive_produced_by ?x0
}