Program to Count the Number of Occurrence of an Element in an Array