Was a film written by M1 and produced by a film director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by M1 .
?x1 a ns:film.director
}