Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given a list of songs where the ith song has a duration of time[i] seconds.
Return the number of pairs of songs for which their total duration in seconds is divisible by 60. Formally, we want the number of indices i, j such that i < j with (time[i] + time[j]) % 60 == 0.
 
Please complete the following python code precisely:
```python
class Solution:
    def numPairsDivisibleBy60(self, time: List[int]) -> int:
```