Problem: Our juniors has just entered in coding community. Their first task is to find the frequency of Best numbers present in given list of elements.
Best numbers are numbers which are divisible by 2.

SAMPLE INPUT
2
5
1 2 3 4 5
3
1 3 5

SAMPLE OUTPUT
2
0

Explanation

Number of test cases=2
1st test case, number of elements =5 
Best numbers are  2 , 4 ; frequency=2
2nd test case, number of elements =3
No Best numbers

Solution (in PYTHON):

Solution:
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
def best_numbers(input_numbers):
	count = 0
	for number in input_numbers:
		if number % 2 == 0:
			count = count + 1
	print count




if __name__ == '__main__':
	cases = int(raw_input().strip())
	start = 1
	while start <= cases:
		length = int(raw_input().strip())
		input_numbers = [int(x) for x in raw_input().strip().split(' ')]
		best_numbers(input_numbers)
		start = start + 1