Was M2 written by M0 's parent , edited by M3 , and directed by M1 's costume designer
SELECT count(*) WHERE {
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M0 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0
}