Were M2 and M3 executive produced by a actor and executive produced by a cinematographer , editor , and producer of M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.executive_produced_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.executive_produced_by ?x1
}