Entropy Formula for a Stationary Markov Shift