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

Given an integer array nums, return the number of longest increasing subsequences.
Notice that the sequence has to be strictly increasing.
 
Please complete the following python code precisely:
```python
class Solution:
    def findNumberOfLIS(self, nums: List[int]) -> int:
```