Did M4 star a person that M3 starred , M1 was edited by , and M2 was executive produced by
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M2 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0
}