#!/usr/bin/env python3

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N,K = map(int,readline().split())
H = list(map(int,readline().split()))

ans = 0
for h in H:
    if h >= K:
        ans += 1

print(ans) import sys sys read = sys.stdin.buffer.read read sys.stdin.buffer.read sys.stdin.buffer sys.stdin sys stdin buffer read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline readlines = sys.stdin.buffer.readlines readlines sys.stdin.buffer.readlines sys.stdin.buffer sys.stdin sys stdin buffer readlines N,K = map(int,readline().split()) N map(int,readline().split()) map int readline().split() ().split () readline split K H = list(map(int,readline().split())) H list(map(int,readline().split())) list map(int,readline().split()) map int readline().split() ().split () readline split ans = 0 ans 0 for h in H:
    if h >= K:
        ans += 1 h H if h >= K:
        ans += 1 h >= K h K ans += 1 ans 1 print(ans) print ans readlines = sys.stdin.buffer.readlines sys.stdin.buffer.readlines readlines read = sys.stdin.buffer.read sys.stdin.buffer.read read ans = 0 0 ans ans += 1 1 ans N,K = map(int,readline().split()) map(int,readline().split()) N H = list(map(int,readline().split())) list(map(int,readline().split())) H readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline K = map(int,readline().split()) map(int,readline().split()) K
#!/usr/bin/env python3

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N,K = map(int,readline().split())
H = list(map(int,readline().split()))

ans = 0
for h in H:
    if h >= K:
        ans += 1

print(ans)