# coding: utf-8
# Your code here!

n,k=map(int,input().split())
l=list(map(int,input().split()))
l.sort()

ans = sum(x>=k for x in l)
print(ans) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k l=list(map(int,input().split())) l list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split l.sort() l.sort l sort ans = sum(x>=k for x in l) ans sum(x>=k for x in l) sum x>=k x k print(ans) print ans n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k l=list(map(int,input().split())) list(map(int,input().split())) l ans = sum(x>=k for x in l) sum(x>=k for x in l) ans
# coding: utf-8
# Your code here!

n,k=map(int,input().split())
l=list(map(int,input().split()))
l.sort()

ans = sum(x>=k for x in l)
print(ans)