Flux through a Markov chain