n,k=map(int,input().split())
h=list(map(int,input().split()))
print(sum([1 for i in h if i>=k]))
# 内包表記じゃなかったら
# count = 0
# for i in h_list:
#     if i >= K:
#         count += 1
# print(count) 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 1 for i in h if i>=k for i in h if i>=k i h i>=k i k if i>=k 1 print(sum([1 for i in h if i>=k])) print sum([1 for i in h if i>=k]) sum [1 for i in h if i>=k] n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k h=list(map(int,input().split())) list(map(int,input().split())) h
n,k=map(int,input().split())
h=list(map(int,input().split()))
print(sum([1 for i in h if i>=k]))
# 内包表記じゃなかったら
# count = 0
# for i in h_list:
#     if i >= K:
#         count += 1
# print(count)