question: Did M5 star a cinematographer that produced , directed , and wrote M1 , M2 , M3 , and M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 ns:film.director.film M1 .
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.director.film M4 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M2 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M4 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  ?x0 ns:film.writer.film M4 .
  M5 ns:film.film.starring/ns:film.performance.actor ?x0
  }