S_list = [input() for i in range(2)]
N,K = map(int,S_list[0].split())    
h_list = list(map(int,S_list[1].split()))
number = 0
for i in h_list:
    if i>=K:
        number += 1
print(number)  input() for i in range(2) for i in range(2) i range(2) range 2 for i in range(2) input() input S_list = [input() for i in range(2)] S_list [input() for i in range(2)] N,K = map(int,S_list[0].split()) N map(int,S_list[0].split()) map int S_list[0].split() [0].split [0] S_list 0 split K h_list = list(map(int,S_list[1].split())) h_list list(map(int,S_list[1].split())) list map(int,S_list[1].split()) map int S_list[1].split() [1].split [1] S_list 1 split number = 0 number 0 for i in h_list:
    if i>=K:
        number += 1 i h_list if i>=K:
        number += 1 i>=K i K number += 1 number 1 print(number) print number K = map(int,S_list[0].split()) map(int,S_list[0].split()) K S_list = [input() for i in range(2)] [input() for i in range(2)] S_list number = 0 0 number h_list = list(map(int,S_list[1].split())) list(map(int,S_list[1].split())) h_list N,K = map(int,S_list[0].split()) map(int,S_list[0].split()) N number += 1 1 number
S_list = [input() for i in range(2)]
N,K = map(int,S_list[0].split())    
h_list = list(map(int,S_list[1].split()))
number = 0
for i in h_list:
    if i>=K:
        number += 1
print(number) 