question: Were M2 , M3 , and M4 produced by M1 's star and director and distributed by a cinematographer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x1 ns:film.actor.film/ns:film.performance.film M1 .
  ?x1 ns:film.director.film M1 .
  M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
  M3 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
  M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
  M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
  M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1
  }