question: Were M4 and M5 directed by a actor that M1 , M2 , and M3 starred
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 .
  M4 ns:film.film.directed_by ?x0 .
  M5 ns:film.film.directed_by ?x0
  }