What is the method to count the number of contiguous subarrays within an array of integers 'numbers' that have 'k' pairs of duplicate values?
a) Dynamic Programming
b) Sliding Window Technique
c) Depth First Search
d) Breadth First Search