Was M2 directed by a producer , art director , cinematographer , writer , and star of M1 and edited by a film director
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0
}