Implement a function count_subarrays_with_min_k(array, queries) that computes the number of contiguous subarrays in the input array with a minimum equal to each value specified in the queries list.
Functionality Requirements:
The function should iterate over all possible contiguous subarrays of the input array.
For each contiguous subarray, the function should determine its minimum value.
Maintain a count of how many times each minimum value appears across all subarrays.
After processing the entire array, for each query value provided in the queries list, return the count of subarrays whose minimum equals that query value.
Input Requirements:
array: A list of integers (1 ≤ len(array) ≤ 10^5, -10^9 ≤ array[i] ≤ 10^9).
queries: A list of integers (1 ≤ len(queries) ≤ 10^4, -10^9 ≤ queries[i] ≤ 10^9).
Output Requirements:
The function should return a list of integers where each integer corresponds to the count of subarrays having a minimum equal to the value in the queries list.
Implementation Instructions:
Write the function in Python and save it in a file named /app/solution.py. The file should only contain the function and necessary imports without any additional code or comments.