question: Did a Swedish screenwriter influenced by M1 produce M3 and M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M4 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:people.person.nationality ns:m.0d0vqn
  }