import numpy as np

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

h = list(map(int,input().split()))

print((sum(x >= K for x in h)))
N , K = list(map(int,input().split()))

h = list(map(int,input().split()))

print((sum(x >= K for x in h)))
import numpy as np

N, K = list(map(int, input().split()))
h = list(map(int, input().split()))
print((sum(x >= K for x in h)))

N, K = list(map(int, input().split()))
h = list(map(int, input().split()))
print((sum(x >= K for x in h)))

-import numpy as np -