Did M2 star a cinematographer 's parent , star M3 , and star a 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 ?x1 .
?x1 a ns:film.cinematographer .
?x2 a ns:film.film_costumer_designer .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x2 .
M2 ns:film.film.starring/ns:film.performance.actor M3
}