question: Were M3 , M4 , and M5 written by M0 's male costume designer and directed by a film director
query: SELECT count(*) WHERE {
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
  ?x0 ns:people.person.gender ns:m.05zppz .
  ?x1 a ns:film.director .
  M3 ns:film.film.directed_by ?x1 .
  M3 ns:film.film.written_by ?x0 .
  M4 ns:film.film.directed_by ?x1 .
  M4 ns:film.film.written_by ?x0 .
  M5 ns:film.film.directed_by ?x1 .
  M5 ns:film.film.written_by ?x0
  }