question: Was a costume designer that M2 starred , was edited by , and was executive produced by a cinematographer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 a ns:film.film_costumer_designer .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.producer.films_executive_produced M2
  }