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

Given an array nums of distinct positive integers, return the number of tuples (a, b, c, d) such that a * b = c * d where a, b, c, and d are elements of nums, and a != b != c != d.
 
Please complete the following python code precisely:
```python
class Solution:
    def tupleSameProduct(self, nums: List[int]) -> int:
```