question: Was M1 's sequel 's sequel 's Italian writer 's gender M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:people.person.nationality ns:m.03rjj .
  ?x1 ns:film.film.prequel ?x2 .
  ?x2 ns:film.film.prequel M1 .
  M2 ^ns:people.person.gender ?x0
  }