Did a writer of a film produce a film , edit M0 , and edit M1
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.writer.film ?x2 .
?x1 a ns:film.film .
?x2 a ns:film.film
}