N,K=map(int,input().split())
h=list(map(int,input().split()))
l=len(h)
x=[False for x in range(l)]
for i in range(l):
    if h[i]>=K:
        x[i]=True
print(x.count(True))   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 l=len(h) l len(h) len h False for x in range(l) for x in range(l) x range(l) range l for x in range(l) False x=[False for x in range(l)] x [False for x in range(l)] for i in range(l):
    if h[i]>=K:
        x[i]=True i range(l) range l if h[i]>=K:
        x[i]=True h[i]>=K h[i] h i K x[i]=True x[i] x i True print(x.count(True)) print x.count(True) x.count x count True x=[False for x in range(l)] [False for x in range(l)] x K=map(int,input().split()) map(int,input().split()) K h=list(map(int,input().split())) list(map(int,input().split())) h l=len(h) len(h) l N,K=map(int,input().split()) map(int,input().split()) N
N,K=map(int,input().split())
h=list(map(int,input().split()))
l=len(h)
x=[False for x in range(l)]
for i in range(l):
    if h[i]>=K:
        x[i]=True
print(x.count(True))  