Did M2 edit and produce a film whose art director and star wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.film_art_direction_by ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.editor.film ?x0 .
M2 ns:film.producer.film|ns:film.production_company.films ?x0
}