Was a production company founded by M1 and M2 , founded by M3 , and founded by a writer and star of M4
SELECT count(*) WHERE {
?x0 a ns:film.production_company .
?x0 ns:organization.organization.founders ?x1 .
?x0 ns:organization.organization.founders M1 .
?x0 ns:organization.organization.founders M2 .
?x0 ns:organization.organization.founders M3 .
?x1 ns:film.actor.film/ns:film.performance.film M4 .
?x1 ns:film.writer.film M4
}