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