import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

N, K = mapint()
Hs = list(mapint())

lis = [1 if a>=K else 0 for a in Hs]
print(sum(lis)) import sys sys def input(): return sys.stdin.readline().strip() input def mapint(): return map(int, input().split()) mapint sys.setrecursionlimit(10**9) sys.setrecursionlimit sys setrecursionlimit 10**9 10 9 N, K = mapint() N mapint() mapint K Hs = list(mapint()) Hs list(mapint()) list mapint() mapint 1 if a>=K else 0 for a in Hs for a in Hs a Hs for a in Hs 1 if a>=K else 0 a>=K a K 1 0 lis = [1 if a>=K else 0 for a in Hs] lis [1 if a>=K else 0 for a in Hs] print(sum(lis)) print sum(lis) sum lis lis = [1 if a>=K else 0 for a in Hs] [1 if a>=K else 0 for a in Hs] lis def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input def mapint(): return map(int, input().split()) def mapint(): return map(int, input().split()) mapint K = mapint() mapint() K N, K = mapint() mapint() N Hs = list(mapint()) list(mapint()) Hs
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

N, K = mapint()
Hs = list(mapint())

lis = [1 if a>=K else 0 for a in Hs]
print(sum(lis))