question: Was a film that M2 directed and M3 's actor wrote distributed by M1
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by M2 .
  ?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.actor.film/ns:film.performance.character M3
  }