num_persons, need_height = map(int, input().split())
a = map(int, input().split())
height_list = list(a)

count_height_ok = 0

for i in height_list:
    if i >= need_height:
        count_height_ok += 1

print(count_height_ok) num_persons, need_height = map(int, input().split()) num_persons map(int, input().split()) map int input().split() ().split () input split need_height a = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split height_list = list(a) height_list list(a) list a count_height_ok = 0 count_height_ok 0 for i in height_list:
    if i >= need_height:
        count_height_ok += 1 i height_list if i >= need_height:
        count_height_ok += 1 i >= need_height i need_height count_height_ok += 1 count_height_ok 1 print(count_height_ok) print count_height_ok a = map(int, input().split()) map(int, input().split()) a count_height_ok += 1 1 count_height_ok num_persons, need_height = map(int, input().split()) map(int, input().split()) num_persons height_list = list(a) list(a) height_list need_height = map(int, input().split()) map(int, input().split()) need_height count_height_ok = 0 0 count_height_ok
num_persons, need_height = map(int, input().split())
a = map(int, input().split())
height_list = list(a)

count_height_ok = 0

for i in height_list:
    if i >= need_height:
        count_height_ok += 1

print(count_height_ok)
