Were M2 , M4 , M5 , and M6 edited by M3 and written by a employee of M0 and M1
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M0 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0 .
M4 ns:film.film.edited_by M3 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.edited_by M3 .
M5 ns:film.film.written_by ?x0 .
M6 ns:film.film.edited_by M3 .
M6 ns:film.film.written_by ?x0
}