Did a costume designer of M0 play M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:film.actor.film/ns:film.performance.character M2 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M0
}