Alice is all geared up for Codemania 3.0. After an intense day of coding, Alice wants to check where does she stand amongst the competitors. But alas, the organizers were so busy making problems, they forgot to sort the scoreboard by contestant's scores.
As Alice is tired from coding the whole day, she asks you to help her find her rank. The rank of a contestant is defined as the number of people with a higher score that the contestant + 1.
Input :
The first line of the input contains one integer T, denoting the test cases.
The first line of each test case contains 2 integers, N and K. N is the number of contestants, and K is Alice’s score.
The second line of each test case contains N integers, each denoting a contestants score. It is guaranteed that one of these integers is equal to K.
Constraints :
1≤T≤1031≤n≤104
1≤ Sum of contestants over all test cases ≤105
0≤ Score of a contestant ≤109
Output :
For each test case, print Alice’s rank.