Markov-counting-procedure-Link