You are given an array $$$a$$$ of length $$$n$$$ and an integer $$$k$$$.
In one operation, choose any element $$$x$$$ of the array.
In both cases, increase $$$k$$$ by $$$1$$$ after performing the operation.
Find the minimum number of operations required to make the array empty.
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
The first line of each test case contains two integers $$$n$$$ and $$$k$$$ ($$$1 \le n \le 2 \cdot 10^5$$$, $$$0 \le k \le n$$$) — the length of the array and the initial value of $$$k$$$.
The second line contains $$$n$$$ integers $$$a_1, a_2, \ldots, a_n$$$ ($$$1 \le a_i \le n$$$) — the elements of the array.
It is guaranteed that the sum of $$$n$$$ over all test cases does not exceed $$$2 \cdot 10^5$$$.
For each test case, output a single integer — the minimum number of operations required to make the array empty.
84 04 4 1 43 03 2 26 36 3 6 4 6 56 26 6 5 6 6 65 03 5 3 1 36 16 4 6 5 4 67 17 2 7 7 3 7 78 08 8 2 8 8 1 8 8
6568781112
In the first example, initially $$$k = 0$$$. We can perform the following operations:
In the fourth example, initially $$$k = 2$$$. We can perform the following operations:
| Name |
|---|


