Was M2 written by a writer , cinematographer , and costume designer of M0 and produced by M1 's child 's employer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x0 ns:film.writer.film M0 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x2 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M2 ns:film.film.written_by ?x0
}