Was M1 directed by a film 's director and star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.director.film ?x1 .
?x1 a ns:film.film .
M1 ns:film.film.directed_by ?x0
}