Were M1 and M2 founded by a film 's writer , producer , director , and executive producer
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
M1 ns:organization.organization.founders ?x0 .
M2 ns:organization.organization.founders ?x0
}