Given an integer array and an inclusive range [lower, upper], return the number of contiguous subarray sums S(i, j) that lie within [lower, upper], where S(i, j) is the sum of elements from index i to j inclusive. The input gives the array as a JSON array and 'lower upper' separated by ' | '.
Input: A JSON array and 'lower upper', separated by ' | '.
Output: Integer — the count of qualifying subarray sums.
Input: [-2,5,-1] | -2 2
Output: 3
Explanation: Three subarray sums fall in [-2,2].Input: [0] | 0 0
Output: 1
Explanation: The single sum is 0.Input: [1,2,3] | 3 7
Output: 4
Explanation: Four qualifying sums.0<=n<=10^5-10^5<=value<=10^5lower<=upper