count even numbers in an array