n,k=[int(s) for s in input().split()]
h=[int(s) for s in input().split()]
count=0
for i in h:
  if i>=k:
    count+=1
print(count)
#  a.append(
#a.append(23)
#for
#print(*range(x-k+1,x+k)) int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s n,k=[int(s) for s in input().split()] n [int(s) for s in input().split()] k int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s h=[int(s) for s in input().split()] h [int(s) for s in input().split()] count=0 count 0 for i in h:
  if i>=k:
    count+=1 i h if i>=k:
    count+=1 i>=k i k count+=1 count 1 print(count) print count count+=1 1 count h=[int(s) for s in input().split()] [int(s) for s in input().split()] h n,k=[int(s) for s in input().split()] [int(s) for s in input().split()] n count=0 0 count k=[int(s) for s in input().split()] [int(s) for s in input().split()] k
n,k=[int(s) for s in input().split()]
h=[int(s) for s in input().split()]
count=0
for i in h:
  if i>=k:
    count+=1
print(count)
#  a.append(
#a.append(23)
#for
#print(*range(x-k+1,x+k))