Was a film director a writer and art director of a prequel of M1
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M1
}