Was M4 directed by a costume designer of a film and directed by a star and editor of M1 , M2 , and M3
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x1 a ns:film.film .
?x2 ns:film.actor.film/ns:film.performance.film M1 .
?x2 ns:film.actor.film/ns:film.performance.film M2 .
?x2 ns:film.actor.film/ns:film.performance.film M3 .
?x2 ns:film.editor.film M1 .
?x2 ns:film.editor.film M2 .
?x2 ns:film.editor.film M3 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.directed_by ?x2
}