I am trying to run this function sequentially. The output should be latitude length, lat length A, lat length B
But the output I am getting is latitude length, lat length