Was a film whose male star , director , and costume designer edited , produced , and wrote M0 M2
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
M2 a ns:film.film .
M2 ns:film.film.costume_design_by ?x0 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x0
}