N,K=input().split()
N=int(N)
K=int(K)
ls=[int(s) for s in input().split()]
count=0
for i in range(N):
  if ls[i]>=K:
    count=count+1
print(count) N,K=input().split() N input().split() ().split () input split K N=int(N) N int(N) int N K=int(K) K int(K) int 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 ls=[int(s) for s in input().split()] ls [int(s) for s in input().split()] count=0 count 0 for i in range(N):
  if ls[i]>=K:
    count=count+1 i range(N) range N if ls[i]>=K:
    count=count+1 ls[i]>=K ls[i] ls i K count=count+1 count count+1 count 1 print(count) print count ls=[int(s) for s in input().split()] [int(s) for s in input().split()] ls K=input().split() input().split() K K=int(K) int(K) K count=0 0 count count=count+1 count+1 count N,K=input().split() input().split() N N=int(N) int(N) N
N,K=input().split()
N=int(N)
K=int(K)
ls=[int(s) for s in input().split()]
count=0
for i in range(N):
  if ls[i]>=K:
    count=count+1
print(count)