Fill in countEqual so that it returns how many elements of days equal target.
countEqual
days
target
Compare enum values with == — each constant is a single shared object. The program prints 2 and then 0.
==
2
0