Where are the number of remaining payments determined?
From the Customer Detail page, center column Payment Information section you will find the Remaining Scheduled Billings count. Also, from Statements/Payments you may count the number of payments collected to determine how many remain.