n,k=list(map(int,input().split()))
h=list(map(int,input().split()))
sum=0
for i in range(n):
  if h[i]>=k:
    sum=sum+1
print(sum) n,k=list(map(int,input().split())) n list(map(int,input().split())) list 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 sum=0 sum 0 for i in range(n):
  if h[i]>=k:
    sum=sum+1 i range(n) range n if h[i]>=k:
    sum=sum+1 h[i]>=k h[i] h i k sum=sum+1 sum sum+1 sum 1 print(sum) print sum n,k=list(map(int,input().split())) list(map(int,input().split())) n k=list(map(int,input().split())) list(map(int,input().split())) k sum=sum+1 sum+1 sum sum=0 0 sum h=list(map(int,input().split())) list(map(int,input().split())) h
n,k=list(map(int,input().split()))
h=list(map(int,input().split()))
sum=0
for i in range(n):
  if h[i]>=k:
    sum=sum+1
print(sum)