Was M1 written by M2 , executive produced by a actor , edited by a actor , and directed by M3
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 a ns:film.actor .
M1 ns:film.film.directed_by M3 .
M1 ns:film.film.edited_by ?x1 .
M1 ns:film.film.executive_produced_by ?x0 .
M1 ns:film.film.written_by M2
}