question: Were M2 , M4 , M5 , and M6 directed by a costume designer , written by a actor , and edited by M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x1 a ns:film.film_costumer_designer .
  M2 ns:film.film.directed_by ?x1 .
  M2 ns:film.film.edited_by M3 .
  M2 ns:film.film.written_by ?x0 .
  M4 ns:film.film.directed_by ?x1 .
  M4 ns:film.film.edited_by M3 .
  M4 ns:film.film.written_by ?x0 .
  M5 ns:film.film.directed_by ?x1 .
  M5 ns:film.film.edited_by M3 .
  M5 ns:film.film.written_by ?x0 .
  M6 ns:film.film.directed_by ?x1 .
  M6 ns:film.film.edited_by M3 .
  M6 ns:film.film.written_by ?x0
  }