Did a production company 's employee and founder write M0 and M1 and edit a prequel of M2
SELECT count(*) WHERE {
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:organization.organization_founder.organizations_founded ?x2 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x2 .
?x1 ns:film.film.sequel M2 .
?x2 a ns:film.production_company
}