# B - Roller Coaster

#  N K
N, K = map(int, input().split())
my_list = list(map(int, input().split(maxsplit=N)))
answer = 0

for i in range(0, N):
    if my_list[i] >= K:
        answer += 1

print(answer) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K my_list = list(map(int, input().split(maxsplit=N))) my_list list(map(int, input().split(maxsplit=N))) list map(int, input().split(maxsplit=N)) map int input().split(maxsplit=N) ().split () input split maxsplit=N maxsplit N answer = 0 answer 0 for i in range(0, N):
    if my_list[i] >= K:
        answer += 1 i range(0, N) range 0 N if my_list[i] >= K:
        answer += 1 my_list[i] >= K my_list[i] my_list i K answer += 1 answer 1 print(answer) print answer N, K = map(int, input().split()) map(int, input().split()) N answer += 1 1 answer K = map(int, input().split()) map(int, input().split()) K my_list = list(map(int, input().split(maxsplit=N))) list(map(int, input().split(maxsplit=N))) my_list answer = 0 0 answer
# B - Roller Coaster

#  N K
N, K = map(int, input().split())
my_list = list(map(int, input().split(maxsplit=N)))
answer = 0

for i in range(0, N):
    if my_list[i] >= K:
        answer += 1

print(answer)
