Were M3 , M4 , and M5 written by a costume designer and executive produced by a director of M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.director.film M1 .
?x1 a ns:film.film_costumer_designer .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.written_by ?x1
}