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