8. Given a tuple pairs = ((2, 5), (4, 2), (9, 8), (12,10)), count the number of pairs (a, b) such that both a and b are even.