Was M4 written by a screenwriter and directed by a costume designer that M2 and M3 employed
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.film_costumer_designer .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.written_by ?x0
}