question: Did a parent of M4 's star and costume designer write M0 , produce M1 and M2 , and direct M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M2 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x1 ns:film.actor.film/ns:film.performance.film M4 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M4
  }