Did a person that a film was produced by and M2 was produced by edit and executive produce M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 a ns:film.film
}