N, K = map(int, input().split())
H = list(map(int, input().split()))

ANS = sum(x >= K for x in H)
print(ANS) 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 ANS = sum(x >= K for x in H) ANS sum(x >= K for x in H) sum x >= K x K print(ANS) print ANS N, K = map(int, input().split()) map(int, input().split()) N H = list(map(int, input().split())) list(map(int, input().split())) H K = map(int, input().split()) map(int, input().split()) K ANS = sum(x >= K for x in H) sum(x >= K for x in H) ANS
N, K = map(int, input().split())
H = list(map(int, input().split()))

ANS = sum(x >= K for x in H)
print(ANS)