Was M2 's producer founded by M3 's writer and star and founded by M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:organization.organization.founders ?x1 .
?x0 ns:organization.organization.founders M0 .
?x0 ns:organization.organization.founders M1 .
?x1 ns:film.actor.film/ns:film.performance.film M3 .
?x1 ns:film.writer.film M3
}