Was a cinematographer , writer , star , and art director of M1 and M2 a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.cinematographer.film M2 .
?x0 ns:film.film_art_director.films_art_directed M1 .
?x0 ns:film.film_art_director.films_art_directed M2 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2
}