# Challenges

Problem Statement

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

Dcoded By: Saurav Chandra

Solved By: 187

Maximum Marks: 8