import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))
# N,K=4,150
# h=[150, 140, 100, 200]

harry=np.array(h)
ans=np.count_nonzero(harry>=K)

print(ans)


# import sys
# print(sys.version_info) import numpy as np numpy 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 harry=np.array(h) harry np.array(h) np.array np array h ans=np.count_nonzero(harry>=K) ans np.count_nonzero(harry>=K) np.count_nonzero np count_nonzero harry>=K harry K print(ans) print ans harry=np.array(h) np.array(h) harry K=map(int,input().split()) map(int,input().split()) K N,K=map(int,input().split()) map(int,input().split()) N h=list(map(int,input().split())) list(map(int,input().split())) h ans=np.count_nonzero(harry>=K) np.count_nonzero(harry>=K) ans
import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))
# N,K=4,150
# h=[150, 140, 100, 200]

harry=np.array(h)
ans=np.count_nonzero(harry>=K)

print(ans)


# import sys
# print(sys.version_info)