Was M0 a art director that M4 and M5 influenced and M2 and M3 were influenced by
SELECT count(*) WHERE {
M0 a ns:film.film_art_director .
M0 ns:influence.influence_node.influenced M2 .
M0 ns:influence.influence_node.influenced M3 .
M0 ns:influence.influence_node.influenced_by M4 .
M0 ns:influence.influence_node.influenced_by M5
}