# coding: utf-8
# Your code here!

N,K=map(int,input().split())
H=list(map(int,input().split()))

ans=0
for i in range(K):
    ans+=H.count(i)

print(N-ans) N,K=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K H=list(map(int,input().split())) H list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split ans=0 ans 0 for i in range(K):
    ans+=H.count(i) i range(K) range K ans+=H.count(i) ans H.count(i) H.count H count i print(N-ans) print N-ans N ans ans+=H.count(i) H.count(i) ans N,K=map(int,input().split()) map(int,input().split()) N K=map(int,input().split()) map(int,input().split()) K H=list(map(int,input().split())) list(map(int,input().split())) H ans=0 0 ans
# coding: utf-8
# Your code here!

N,K=map(int,input().split())
H=list(map(int,input().split()))

ans=0
for i in range(K):
    ans+=H.count(i)

print(N-ans)