Zero Filled Subarrays Count

Given an integer array nums, return the number of zero-filled subarrays. A zero-filled subarray is a subarray that consists only of zeros.

Examples
Input: [0,0,0,2,0]
Output: 7
Hints
Related Problems

Zero Filled Subarrays Count

Given an integer array `nums`, return the number of zero-filled subarrays. A zero-filled subarray is a subarray that consists only of zeros.