# 問題：https://atcoder.jp/contests/abc142/tasks/abc142_b

n, k = map(int, input().strip().split())
h = list(map(int, input().strip().split()))
res = 0
for i in range(n):
    if h[i] < k:
        continue
    res += 1
print(res)
 n, k = map(int, input().strip().split()) n map(int, input().strip().split()) map int input().strip().split() ().strip().split ().strip() ().strip () input strip split k h = list(map(int, input().strip().split())) h list(map(int, input().strip().split())) list map(int, input().strip().split()) map int input().strip().split() ().strip().split ().strip() ().strip () input strip split res = 0 res 0 for i in range(n):
    if h[i] < k:
        continue
    res += 1 i range(n) range n if h[i] < k:
        continue
     h[i] < k h[i] h i k continue res += 1 res 1 print(res) print res k = map(int, input().strip().split()) map(int, input().strip().split()) k n, k = map(int, input().strip().split()) map(int, input().strip().split()) n res += 1 1 res h = list(map(int, input().strip().split())) list(map(int, input().strip().split())) h res = 0 0 res
# 問題：https://atcoder.jp/contests/abc142/tasks/abc142_b

n, k = map(int, input().strip().split())
h = list(map(int, input().strip().split()))
res = 0
for i in range(n):
    if h[i] < k:
        continue
    res += 1
print(res)

