N,K = list(map(int,input().split()))
H  = list(map(int,input().split()))
counter = 0
for h in H:
  if h >= K:
    counter += 1
    
print(counter) N,K = list(map(int,input().split())) N list(map(int,input().split())) list 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 counter = 0 counter 0 for h in H:
  if h >= K:
    counter += 1
     h H if h >= K:
    counter += 1
     h >= K h K counter += 1 counter 1 print(counter) print counter counter += 1 1 counter counter = 0 0 counter H  = list(map(int,input().split())) list(map(int,input().split())) H K = list(map(int,input().split())) list(map(int,input().split())) K N,K = list(map(int,input().split())) list(map(int,input().split())) N
N,K = list(map(int,input().split()))
H  = list(map(int,input().split()))
counter = 0
for h in H:
  if h >= K:
    counter += 1
    
print(counter)
