import sys, math
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

N, K = rl()
H = rl()

ans = 0
for h in H:
	if h >= K:
		ans += 1
print(ans) import sys, math sys math input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline rs = lambda: input().strip() rs lambda: input().strip() input().strip() ().strip () input strip ri = lambda: int(input()) ri lambda: int(input()) int(input()) int input() input rl = lambda: list(map(int, input().split())) rl lambda: list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split mod = 10**9 + 7 mod 10**9 + 7 10**9 10 9 7 N, K = rl() N rl() rl K H = rl() H rl() rl 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 rl = lambda: list(map(int, input().split())) lambda: list(map(int, input().split())) rl ans += 1 1 ans K = rl() rl() K H = rl() rl() H input = sys.stdin.readline sys.stdin.readline input ri = lambda: int(input()) lambda: int(input()) ri mod = 10**9 + 7 10**9 + 7 mod N, K = rl() rl() N rs = lambda: input().strip() lambda: input().strip() rs ans = 0 0 ans
import sys, math
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

N, K = rl()
H = rl()

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