Did a parent of M2 's prequel 's costume designer write M1 's sequel and edit M0
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x1 ns:film.film.prequel M1 .
?x2 ns:film.film_costumer_designer.costume_design_for_film ?x3 .
?x3 ns:film.film.sequel M2
}