"""

author : halo2halo

date : 9, Jan, 2020

"""



import sys



read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



# N = int(readline())

# D = [int(d) for d in readline().split()]



import numpy as np



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

h = [int(x) for x in readline().split()]



print((len([x for x in h if x-K >= 0])))

"""

author : halo2halo

date : 9, Jan, 2020

"""



import sys



read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



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

print((sum(x >= K for x in H)))

"""
author : halo2halo
date : 9, Jan, 2020
"""
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
# N = int(readline())
# D = [int(d) for d in readline().split()]
import numpy as np

N, K = list(map(int, readline().split()))
h = [int(x) for x in readline().split()]
print((len([x for x in h if x - K >= 0])))

"""
author : halo2halo
date : 9, Jan, 2020
"""
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
N, K, *H = list(map(int, read().split()))
print((sum(x >= K for x in H)))

-# N = int(readline()) -# D = [int(d) for d in readline().split()] -import numpy as np - -N, K = list(map(int, readline().split())) -h = [int(x) for x in readline().split()] -print((len([x for x in h if x - K >= 0]))) +N, K, *H = list(map(int, read().split())) +print((sum(x >= K for x in H)))