Did M3 star a actor that directed M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0
}