Did a person direct M5 , write M2 , edit M1 , and executive produce M3 and M4
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M5 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.producer.films_executive_produced M4 .
?x0 ns:film.writer.film M2
}