
N = 3
K = 5
A = [ 1, 6, 7 ]
Biscuit 1 : Since there is only 1 cherry in this biscuit which is not greater than ‘K’, Ninja doesn’t like this biscuit.
Biscuit 2 : Since there are 6 cherries in this biscuit which is greater than ‘K’, Ninja likes this biscuit.
Biscuit 3 : Since there are 7 cherries in this biscuit which is greater than ‘K’, Ninja likes this biscuit.
Hence, Ninja likes 2 biscuits from this packet.
The first line contains an integer 'T' which denotes the number of test cases to be run. Then the test cases follow.
The first line of each test case contains integer ‘N’.
The second line of each test case contains integer ‘K’.
The second line contains ‘N’ space separated integers denoting the elements of array ‘A’.
For each test case, print one integer denoting the number of biscuits Ninja likes.
Print the output of each test case in a new line.
You don’t need to print anything. It has already been taken care of. Just implement the given function.
1 <= T <= 10
1 <= N <= 10^4
0 <= K <= 10^9
0 <= A[i] <= 10^9
Time Limit: 1 sec