n,k = map(int,input().split())
friend = list(map(int,input().split()))

count = 0
for x in friend:
  if x >= k:
    count += 1

print(count) n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k friend = list(map(int,input().split())) friend list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split count = 0 count 0 for x in friend:
  if x >= k:
    count += 1 x friend if x >= k:
    count += 1 x >= k x k count += 1 count 1 print(count) print count k = map(int,input().split()) map(int,input().split()) k count += 1 1 count friend = list(map(int,input().split())) list(map(int,input().split())) friend count = 0 0 count n,k = map(int,input().split()) map(int,input().split()) n
n,k = map(int,input().split())
friend = list(map(int,input().split()))

count = 0
for x in friend:
  if x >= k:
    count += 1

print(count)
