Did M0 's star and writer influence a cinematographer , art director , and star of M1
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:influence.influence_node.influenced ?x1 .
?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
}