Was M3 directed and written by a screenwriter that M1 and M2 were founded by and employed
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:organization.organization_founder.organizations_founded M1 .
?x0 ns:organization.organization_founder.organizations_founded M2 .
?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.directed_by ?x0 .
M3 ns:film.film.written_by ?x0
}