Count Subarrays With Given Sum Leetcode Python