Did M4 produce a film directed by M1 and M2 and directed by M3
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.directed_by M2 .
?x0 ns:film.film.directed_by M3 .
M4 ns:film.producer.film|ns:film.production_company.films ?x0
}