N, K = map(int, input().split())
h = list(map(int, input().split()))

answer = sum(i >= K for i in h)

print(answer) 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 answer = sum(i >= K for i in h) answer sum(i >= K for i in h) sum i >= K i K print(answer) print answer answer = sum(i >= K for i in h) sum(i >= K for i in h) answer h = list(map(int, input().split())) list(map(int, input().split())) h N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
N, K = map(int, input().split())
h = list(map(int, input().split()))

answer = sum(i >= K for i in h)

print(answer)