from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import random
#####################################
n,k=INPUT()
A=INPUT()
ans=0
for i in A:
    if i>=k:
        ans+=1
print(ans) from sys import stdin,stdout def INPUT():return list(int(i) for i in stdin.readline().split()) INPUT import math math def inp():return stdin.readline() inp def out(x):return stdout.write(x) out x x import math as M math MOD=10**9+7 MOD 10**9+7 10**9 10 9 7 import random random n,k=INPUT() n INPUT() INPUT k A=INPUT() A INPUT() INPUT ans=0 ans 0 for i in A:
    if i>=k:
        ans+=1 i A if i>=k:
        ans+=1 i>=k i k ans+=1 ans 1 print(ans) print ans k=INPUT() INPUT() k ans+=1 1 ans def INPUT():return list(int(i) for i in stdin.readline().split()) def INPUT():return list(int(i) for i in stdin.readline().split()) INPUT def inp():return stdin.readline() def inp():return stdin.readline() inp MOD=10**9+7 10**9+7 MOD def out(x):return stdout.write(x) def out(x):return stdout.write(x) out A=INPUT() INPUT() A ans=0 0 ans n,k=INPUT() INPUT() n
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
import math
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math as M
MOD=10**9+7
import random
#####################################
n,k=INPUT()
A=INPUT()
ans=0
for i in A:
    if i>=k:
        ans+=1
print(ans)
