N,K=map(int,input().split())
h=input()

def ans142(N:int, K:int, h:list):
    N=int(N)
    K=int(K)
    count=0
    if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count)
print(ans142(N,K,h)) N,K=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K h=input() h input() input def ans142(N:int, K:int, h:list):
    N=int(N)
    K=int(K)
    count=0
    if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count) ans142 N=int(N) N int(N) int N K=int(K) K int(K) int K count=0 count 0 if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count) N==1 N 1 h=int(h) h int(h) int h if h>=K:
           return(1)
        elif h<K:
           return(0)
     h>=K h K return(1) 1 elif h<K:
           return(0)
     h<K h K return(0) 0 h=h.split() h h.split() h.split h split for i in range(0,N):
        if int(h[i])>=K:
            count+=1
      i range(0,N) range 0 N if int(h[i])>=K:
            count+=1
      int(h[i])>=K int(h[i]) int h[i] h i K count+=1 count 1 return(count) count N:int N K:int K h:list h print(ans142(N,K,h)) print ans142(N,K,h) ans142 N K h N,K=map(int,input().split()) map(int,input().split()) N def ans142(N:int, K:int, h:list):
    N=int(N)
    K=int(K)
    count=0
    if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count) def ans142(N:int, K:int, h:list):
    N=int(N)
    K=int(K)
    count=0
    if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count) ans142 K=map(int,input().split()) map(int,input().split()) K h=input() input() h
N,K=map(int,input().split())
h=input()

def ans142(N:int, K:int, h:list):
    N=int(N)
    K=int(K)
    count=0
    if N==1:
        h=int(h)
        if h>=K:
           return(1)
        elif h<K:
           return(0)
    else:
     h=h.split()
     for i in range(0,N):
        if int(h[i])>=K:
            count+=1
     return(count)
print(ans142(N,K,h))
