# ABC142
# Roller Coaster
n, k = map(int, input().split())
H = list(map(int, input().split()))
ct = 0
for i in range(n):
    if H[i] >= k:
        ct += 1
print(ct) 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 ct = 0 ct 0 for i in range(n):
    if H[i] >= k:
        ct += 1 i range(n) range n if H[i] >= k:
        ct += 1 H[i] >= k H[i] H i k ct += 1 ct 1 print(ct) print ct ct += 1 1 ct 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 ct = 0 0 ct
# ABC142
# Roller Coaster
n, k = map(int, input().split())
H = list(map(int, input().split()))
ct = 0
for i in range(n):
    if H[i] >= k:
        ct += 1
print(ct)
