created function to count evens