line = input().split()
line2 = input().split()

num = int(line[0])
lim = int(line[1])

x = 0
for i in range(num):
  if int(line2[i]) >= lim:
    x += 1
    
print(x) line = input().split() line input().split() ().split () input split line2 = input().split() line2 input().split() ().split () input split num = int(line[0]) num int(line[0]) int line[0] line 0 lim = int(line[1]) lim int(line[1]) int line[1] line 1 x = 0 x 0 for i in range(num):
  if int(line2[i]) >= lim:
    x += 1
     i range(num) range num if int(line2[i]) >= lim:
    x += 1
     int(line2[i]) >= lim int(line2[i]) int line2[i] line2 i lim x += 1 x 1 print(x) print x x += 1 1 x lim = int(line[1]) int(line[1]) lim x = 0 0 x line = input().split() input().split() line num = int(line[0]) int(line[0]) num line2 = input().split() input().split() line2
line = input().split()
line2 = input().split()

num = int(line[0])
lim = int(line[1])

x = 0
for i in range(num):
  if int(line2[i]) >= lim:
    x += 1
    
print(x)