#Z14110. 与指定数字相同的数的个数

与指定数字相同的数的个数

Description

Output the count of numbers in an integer sequence that are equal to a specified number.

Input Format

The input consists of 2 lines:

  • The first line contains N and m, representing the length of the integer sequence (N ≤ 100) and the specified number, separated by a space.
  • The second line contains N integers, separated by spaces.

Output Format

Output the count of numbers in the sequence that are equal to m.

3 2
2 3 2


2