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

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

Description

Output the count of numbers in an integer sequence that are equal to a specified number. 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; the second line contains N integers separated by spaces. The output is the count of numbers in the sequence that are equal to m.

Input Format

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.

```input1 3 2 2 3 2
```output1
2

## Source

CodesOnline