question: Did M3 star a cinematographer , star a star and cinematographer of M1 and M2 , and star M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x1 ns:film.actor.film/ns:film.performance.film M1 .
  ?x1 ns:film.actor.film/ns:film.performance.film M2 .
  ?x1 ns:film.cinematographer.film M1 .
  ?x1 ns:film.cinematographer.film M2 .
  M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
  M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
  M3 ns:film.film.starring/ns:film.performance.actor M4
  }