Couting the migrations  in the Toyoda's method