Was M2 written by M3 , directed by M1 's editor , edited by a costume designer , and edited by M4
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 ns:film.editor.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.written_by M3
}