# Coding is about expressing your feeling, and
# there is always a better way to express your feeling_feelme
import sys
import math
# sys.stdin=open('input.txt','r')
# sys.stdout=open('output2.txt','w')
from sys import stdin,stdout
from collections import deque,defaultdict
from math import ceil,floor,inf,sqrt,factorial,gcd,log2
from copy import deepcopy
ii1=lambda:int(stdin.readline().strip())
is1=lambda:stdin.readline().strip()
iia=lambda:list(map(int,stdin.readline().strip().split()))
isa=lambda:stdin.readline().strip().split()
mod=int(1e9 + 7)

n,h=iia()
arr=iia()
count=0
for i in range(n):
    if arr[i]>=h:
        count+=1
print(count) import sys sys import math math from sys import stdin,stdout from collections import deque,defaultdict from math import ceil,floor,inf,sqrt,factorial,gcd,log2 from copy import deepcopy ii1=lambda:int(stdin.readline().strip()) ii1 lambda:int(stdin.readline().strip()) int(stdin.readline().strip()) int stdin.readline().strip() stdin.readline().strip stdin.readline() stdin.readline stdin readline strip is1=lambda:stdin.readline().strip() is1 lambda:stdin.readline().strip() stdin.readline().strip() stdin.readline().strip stdin.readline() stdin.readline stdin readline strip iia=lambda:list(map(int,stdin.readline().strip().split())) iia lambda:list(map(int,stdin.readline().strip().split())) list(map(int,stdin.readline().strip().split())) list map(int,stdin.readline().strip().split()) map int stdin.readline().strip().split() stdin.readline().strip().split stdin.readline().strip() stdin.readline().strip stdin.readline() stdin.readline stdin readline strip split isa=lambda:stdin.readline().strip().split() isa lambda:stdin.readline().strip().split() stdin.readline().strip().split() stdin.readline().strip().split stdin.readline().strip() stdin.readline().strip stdin.readline() stdin.readline stdin readline strip split mod=int(1e9 + 7) mod int(1e9 + 7) int 1e9 + 7 1e9 7 n,h=iia() n iia() iia h arr=iia() arr iia() iia count=0 count 0 for i in range(n):
    if arr[i]>=h:
        count+=1 i range(n) range n if arr[i]>=h:
        count+=1 arr[i]>=h arr[i] arr i h count+=1 count 1 print(count) print count count=0 0 count count+=1 1 count iia=lambda:list(map(int,stdin.readline().strip().split())) lambda:list(map(int,stdin.readline().strip().split())) iia h=iia() iia() h arr=iia() iia() arr ii1=lambda:int(stdin.readline().strip()) lambda:int(stdin.readline().strip()) ii1 is1=lambda:stdin.readline().strip() lambda:stdin.readline().strip() is1 mod=int(1e9 + 7) int(1e9 + 7) mod isa=lambda:stdin.readline().strip().split() lambda:stdin.readline().strip().split() isa n,h=iia() iia() n
# Coding is about expressing your feeling, and
# there is always a better way to express your feeling_feelme
import sys
import math
# sys.stdin=open('input.txt','r')
# sys.stdout=open('output2.txt','w')
from sys import stdin,stdout
from collections import deque,defaultdict
from math import ceil,floor,inf,sqrt,factorial,gcd,log2
from copy import deepcopy
ii1=lambda:int(stdin.readline().strip())
is1=lambda:stdin.readline().strip()
iia=lambda:list(map(int,stdin.readline().strip().split()))
isa=lambda:stdin.readline().strip().split()
mod=int(1e9 + 7)

n,h=iia()
arr=iia()
count=0
for i in range(n):
    if arr[i]>=h:
        count+=1
print(count)
