question: Was a art director , director , star , and cinematographer of M1 and M2 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.cinematographer.film M1 .
  ?x0 ns:film.cinematographer.film M2 .
  ?x0 ns:film.director.film M1 .
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.film_art_director.films_art_directed M1 .
  ?x0 ns:film.film_art_director.films_art_directed M2
  }