Was a costume designer that M1 was edited by and directed by M2 's director and writer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M2
}