Was M2 directed by a actor , directed by M3 and M4 , and produced by a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:film.actor .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}