Was a costume designer influenced by M1 and influenced by M3 's sequel 's male writer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 ns:film.writer.film ?x2 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 ns:film.film.prequel M3
}