Did M1 produce M0 's prequel , executive produce M2 , and direct M3 and M4
SELECT count(*) WHERE {
?x0 ns:film.film.sequel M0 .
M1 ns:film.director.film M3 .
M1 ns:film.director.film M4 .
M1 ns:film.producer.films_executive_produced M2 .
M1 ns:film.producer.film|ns:film.production_company.films ?x0
}