def inp():return map(int,input().split())
def linp():return list(map(int,input().split()))

s=0
n,k=inp()
l=linp()
for x in l:
    if x>=k:s+=1
print(s)
 def inp():return map(int,input().split()) inp def linp():return list(map(int,input().split())) linp s=0 s 0 n,k=inp() n inp() inp k l=linp() l linp() linp for x in l:
    if x>=k:s+=1 x l if x>=k: x>=k x k print(s) print s l=linp() linp() l s=0 0 s k=inp() inp() k def linp():return list(map(int,input().split())) def linp():return list(map(int,input().split())) linp n,k=inp() inp() n def inp():return map(int,input().split()) def inp():return map(int,input().split()) inp
def inp():return map(int,input().split())
def linp():return list(map(int,input().split()))

s=0
n,k=inp()
l=linp()
for x in l:
    if x>=k:s+=1
print(s)

