import sys

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

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

print(ans) import sys sys N, K = map(int, sys.stdin.readline().split()) N map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline split K H = map(int, sys.stdin.readline().split()) H map(int, sys.stdin.readline().split()) map int sys.stdin.readline().split() sys.stdin.readline().split sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin 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 H = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) H K = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) K ans = 0 0 ans ans += 1 1 ans N, K = map(int, sys.stdin.readline().split()) map(int, sys.stdin.readline().split()) N
import sys

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

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

print(ans)