question: Was a film whose male writer , star , and costume designer directed M4 and M5 distributed by M1 and M2
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.costume_design_by ?x1 .
  ?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
  ?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M2 .
  ?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.director.film M4 .
  ?x1 ns:film.director.film M5 .
  ?x1 ns:people.person.gender ns:m.05zppz
  }