How many capital cities does the river Danube flow through?

Geography Trivia Question: How many capital cities does the river Danube flow through?