I have the assignment to calculate the total number of list visits in the insertion-sort program. The calculation of list visit is as the following example for bubblue sort