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

Given a digit string s, return the number of unique substrings of s where every digit appears the same number of times.
 
Please complete the following python code precisely:
```python
class Solution:
    def equalDigitFrequency(self, s: str) -> int:
```