N,K = map(int,input().split())
H = list(map(int,input().split()))
res = 0

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

for i in range(N):
  if H[i]>=K:
    res += 1
    
print(res)