Did M2 star a film director , star a person , and star M3
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 a ns:people.person .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1 .
M2 ns:film.film.starring/ns:film.performance.actor M3
}