n,k=map(int,input().split())
s=list(map(int,input().split()))
z=0
for i in range(n):
  if s[i]>=k:
    z+=1
print(z) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k s=list(map(int,input().split())) s list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split z=0 z 0 for i in range(n):
  if s[i]>=k:
    z+=1 i range(n) range n if s[i]>=k:
    z+=1 s[i]>=k s[i] s i k z+=1 z 1 print(z) print z z+=1 1 z s=list(map(int,input().split())) list(map(int,input().split())) s k=map(int,input().split()) map(int,input().split()) k z=0 0 z n,k=map(int,input().split()) map(int,input().split()) n
n,k=map(int,input().split())
s=list(map(int,input().split()))
z=0
for i in range(n):
  if s[i]>=k:
    z+=1
print(z)