n,k=map(int,input().split())
h=list(map(int,input().split()))
res=0
for i in range(n):
  res += (h[i] >= k)
print(res) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k h=list(map(int,input().split())) h list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split res=0 res 0 for i in range(n):
  res += (h[i] >= k) i range(n) range n res += (h[i] >= k) res h[i] >= k h[i] h i k print(res) print res h=list(map(int,input().split())) list(map(int,input().split())) h n,k=map(int,input().split()) map(int,input().split()) n res += (h[i] >= k) h[i] >= k res res=0 0 res k=map(int,input().split()) map(int,input().split()) k
n,k=map(int,input().split())
h=list(map(int,input().split()))
res=0
for i in range(n):
  res += (h[i] >= k)
print(res)