Count Subarrays With Fixed Bounds Leetcode