You are given an integer array $$$a$$$ containing $$$n$$$ elements.
You can do the following operation on array $$$a$$$ :
What are the minimum number of elements in $$$a$$$ after performing the above operation for at most $$$k$$$ times.
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^3$$$). The description of the test cases follows.
The first line of test case contains two integers $$$n,k$$$ ($$$1 \le n,k \le 10^3$$$) — the length of the array $$$a$$$ and the number of operations performed.
The second line of each test case contains $$$n$$$ space separated integers $$$a_{i}$$$ ($$$1 \le a_{i} \le 10^3$$$).
It is guaranteed that the sum of $$$n$$$ over all test cases doesn't exceed $$$10^3$$$.
For each test case, print single integer — minimum number of elements in $$$a$$$ after performing the operation for at most $$$k$$$ times.
81 111 352 54 63 11 2 35 43 5 7 9 105 31 2 3 4 57 20190 910 999 189 672 111 67310 21000 1000 1000 1000 1000 1000 1000 1000 1000 1000
1 1 1 2 1 2 1 8
In the $$$5^{th}$$$ test case,
Initially, $$$a$$$ is $$$(3, 5, 7, 9, 10)$$$.
Hence, total $$$1$$$ element is there in $$$a$$$ after performing $$$4$$$ operations.