Did a screenwriter that was employed by M2 and was employed by a company write and edit M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x1 a ns:business.employer
}