Weak law of large numbers for some Markov chains along non homogeneous genealogies