Did a film star M1 and star M2 's producer , star , writer , director , and cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.director.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.writer.film M2
}