The council of the saffron fields of Marigold Row pays by the answer, and Nyssa intends to earn it. First: the full register of readings. Task: Read n integers and a target x; print how many times x occurs. Input format: First line: n and x. Second line: n space-separated integers. Output format: Print the number of occurrences of x. Constraints: 1 <= n <= 52; -1000000 <= a[i],x <= 1000.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 52; -1000000 <= a[i],x <= 1000.
