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