Consider the following pseudocode operating on Scores dataset.
```
Count = 0
while (Table1 has more rows) {
Read the first row X from Table1
Move X to Table2
while (Table1 has more rows) {
Read the first row Y from Table1
Count = Count + DoSomething(X, Y)
Move Y to Table3
}
Move all rows from Table3 to Table1
}
Procedure DoSomething (A, B)
if (A.City == B.City and A.Total == B.Total) {
return (1)
}
else {
return (0)
}
End DoSomething
```
Which of the following statements are true?