Printing the number of migrations