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

ans=0
for i in range(N):
  ans+=H[i]>=K
  
print(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(N):
  ans+=H[i]>=K
   i range(N) range N ans+=H[i]>=K ans H[i]>=K H[i] H i K print(ans) print ans H=list(map(int,input().split())) list(map(int,input().split())) H K=map(int,input().split()) map(int,input().split()) K N,K=map(int,input().split()) map(int,input().split()) N ans=0 0 ans ans+=H[i]>=K H[i]>=K ans
N,K=map(int,input().split())
H=list(map(int,input().split()))

ans=0
for i in range(N):
  ans+=H[i]>=K
  
print(ans)