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

Given an array of integers nums and an integer k, return the number of contiguous subarrays where the product of all the elements in the subarray is strictly less than k.
 
Please complete the following python code precisely:
```python
class Solution:
    def numSubarrayProductLessThanK(self, nums: List[int], k: int) -> int:
```