question: Was a film written by , executive produced by , and directed by M1 's cinematographer and director
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.executive_produced_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.cinematographer.film M1 .
  ?x1 ns:film.director.film M1
  }