Was M2 directed by M1 's writer , producer , and costume designer and edited by a person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0
}