question: Were M5 and M6 written by and executive produced by a film producer that M1 , M2 , M3 , and M4 were founded by
query: SELECT count(*) WHERE {
  ?x0 a ns:film.producer .
  ?x0 ns:organization.organization_founder.organizations_founded M1 .
  ?x0 ns:organization.organization_founder.organizations_founded M2 .
  ?x0 ns:organization.organization_founder.organizations_founded M3 .
  ?x0 ns:organization.organization_founder.organizations_founded M4 .
  M5 ns:film.film.executive_produced_by ?x0 .
  M5 ns:film.film.written_by ?x0 .
  M6 ns:film.film.executive_produced_by ?x0 .
  M6 ns:film.film.written_by ?x0
  }