Nice Subarrays Count

Given an array of integers nums and an integer k, return the number of contiguous subarrays that contain exactly k odd numbers.

A subarray is a contiguous non-empty sequence of elements within an array.

Examples
Input: [1,2,3]
Output: 0
Hints

Nice Subarrays Count

Given an array of integers `nums` and an integer `k`, return the number of **contiguous subarrays** that contain exactly `k` odd numbers.