Was M2 written by a actor and executive produced by a costume designer 's parent
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
?x1 a ns:film.film_costumer_designer .
?x2 a ns:film.actor .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by ?x2
}