Were M2 and M3 directed by M1 's star , director , and executive producer and produced by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.director.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}