number, req = map(int, input().split())

friends = list(map(int, input().split()))
allowed = 0
for i in friends:
  if i >=  req: allowed += 1
    
print(allowed) number, req = map(int, input().split()) number map(int, input().split()) map int input().split() ().split () input split req friends = list(map(int, input().split())) friends list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split allowed = 0 allowed 0 for i in friends:
  if i >=  req: allowed += 1
     i friends if i >=  req: allowed += 1
     i >=  req i req print(allowed) print allowed number, req = map(int, input().split()) map(int, input().split()) number friends = list(map(int, input().split())) list(map(int, input().split())) friends allowed = 0 0 allowed req = map(int, input().split()) map(int, input().split()) req
number, req = map(int, input().split())

friends = list(map(int, input().split()))
allowed = 0
for i in friends:
  if i >=  req: allowed += 1
    
print(allowed)