question: Was M0 a cinematographer that M4 , M5 , and M6 were directed by and M2 and M3 starred
query: SELECT count(*) WHERE {
  M0 a ns:film.cinematographer .
  M0 ns:film.actor.film/ns:film.performance.film M2 .
  M0 ns:film.actor.film/ns:film.performance.film M3 .
  M0 ns:film.director.film M4 .
  M0 ns:film.director.film M5 .
  M0 ns:film.director.film M6
  }