n, k = map(int, input().split())
h = list(map(int, input().split()))

def answer(n: int, k: int, h: list) -> int:
    ans = 0
    for i in range(0, n):
        if h[i] >= k:
            ans += 1
    return ans

print(answer(n, k, h)) 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 def answer(n: int, k: int, h: list) -> int:
    ans = 0
    for i in range(0, n):
        if h[i] >= k:
            ans += 1
    return ans answer ans = 0 ans 0 for i in range(0, n):
        if h[i] >= k:
            ans += 1
     i range(0, n) range 0 n if h[i] >= k:
            ans += 1
     h[i] >= k h[i] h i k ans += 1 ans 1 return ans ans n: int n k: int k h: list h print(answer(n, k, h)) print answer(n, k, h) answer n k h 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 def answer(n: int, k: int, h: list) -> int:
    ans = 0
    for i in range(0, n):
        if h[i] >= k:
            ans += 1
    return ans def answer(n: int, k: int, h: list) -> int:
    ans = 0
    for i in range(0, n):
        if h[i] >= k:
            ans += 1
    return ans answer
n, k = map(int, input().split())
h = list(map(int, input().split()))

def answer(n: int, k: int, h: list) -> int:
    ans = 0
    for i in range(0, n):
        if h[i] >= k:
            ans += 1
    return ans

print(answer(n, k, h))
