Was M2 produced by a company , directed by M1 's star , writer , and art director , and written by M3
SELECT count(*) WHERE {
?x0 a ns:business.employer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by M3
}