N,K = map(int,input().split())
height = list(map(int,input().split()))
chibi = [1] * N
for i in range (N):
  if height[i] >= K:
    chibi[i] = 0
print(N-sum(chibi)) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K height = list(map(int,input().split())) height list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split chibi = [1] * N chibi [1] * N [1] 1 N for i in range (N):
  if height[i] >= K:
    chibi[i] = 0 i range (N) range N if height[i] >= K:
    chibi[i] = 0 height[i] >= K height[i] height i K chibi[i] = 0 chibi[i] chibi i 0 print(N-sum(chibi)) print N-sum(chibi) N sum(chibi) sum chibi N,K = map(int,input().split()) map(int,input().split()) N K = map(int,input().split()) map(int,input().split()) K height = list(map(int,input().split())) list(map(int,input().split())) height chibi = [1] * N [1] * N chibi
N,K = map(int,input().split())
height = list(map(int,input().split()))
chibi = [1] * N
for i in range (N):
  if height[i] >= K:
    chibi[i] = 0
print(N-sum(chibi))