import random as rng
import itertools as it
import collections as col
import heapq as hq
import sys
import copy as cp
sys.setrecursionlimit(10**9)


def dump_impl(*objects):
    print(*objects, file=sys.stderr)


def dump_dummy(*objects):
    pass


dump = dump_impl if "DEBUG" in sys.argv else dump_dummy

N, K = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for hi in h:
    if hi >= K:
        ans += 1
print(ans) import random as rng random import itertools as it itertools import collections as col collections import heapq as hq heapq import sys sys import copy as cp copy sys.setrecursionlimit(10**9) sys.setrecursionlimit sys setrecursionlimit 10**9 10 9 def dump_impl(*objects):
    print(*objects, file=sys.stderr) dump_impl print(*objects, file=sys.stderr) print *objects objects file=sys.stderr file sys.stderr sys stderr *objects def dump_dummy(*objects):
    pass dump_dummy *objects dump = dump_impl if "DEBUG" in sys.argv else dump_dummy dump dump_impl if "DEBUG" in sys.argv else dump_dummy "DEBUG" in sys.argv "DEBUG" sys.argv sys argv dump_impl dump_dummy 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 ans = 0 ans 0 for hi in h:
    if hi >= K:
        ans += 1 hi h if hi >= K:
        ans += 1 hi >= K hi K ans += 1 ans 1 print(ans) print ans def dump_impl(*objects):
    print(*objects, file=sys.stderr) def dump_impl(*objects):
    print(*objects, file=sys.stderr) dump_impl N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K dump = dump_impl if "DEBUG" in sys.argv else dump_dummy dump_impl if "DEBUG" in sys.argv else dump_dummy dump h = list(map(int, input().split())) list(map(int, input().split())) h ans = 0 0 ans def dump_dummy(*objects):
    pass def dump_dummy(*objects):
    pass dump_dummy ans += 1 1 ans
import random as rng
import itertools as it
import collections as col
import heapq as hq
import sys
import copy as cp
sys.setrecursionlimit(10**9)


def dump_impl(*objects):
    print(*objects, file=sys.stderr)


def dump_dummy(*objects):
    pass


dump = dump_impl if "DEBUG" in sys.argv else dump_dummy

N, K = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for hi in h:
    if hi >= K:
        ans += 1
print(ans)
