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