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

You are given a binary array nums containing only the integers 0 and 1. Return the number of subarrays in nums that have more 1's than 0's. Since the answer may be very large, return it modulo 109 + 7.
A subarray is a contiguous sequence of elements within an array.
 
Please complete the following python code precisely:
```python
class Solution:
    def subarraysWithMoreZerosThanOnes(self, nums: List[int]) -> int:
```