Problem: Given an array A of size N and K. count all the number of elements such that A[i] * 2 = K.
Input: The first line of the input contains a single integer T denoting the number of test cases.
The first line of each test case contains two space separated integer N and K respectively.
The second line of each test case contains N space separated integers A[i].
Output: For each test case, print a single line containing count.
Constraints: 1 <= T <= 10
1 <= N, K <= 100
1 <= A[i] <= 100
Sample Input: 1
7 14
14 37 7 7 7 40 44
Sample Output:
3
for i in range(int(input())):
k = int(input().split()[1])
a = list(map(lambda x: int(x) * 2, input().split()))
print(a.count(k))