def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split())))))

if '__main__' == __name__:
    resolve() def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split()))))) resolve N, K = list(map(int, input().split())) N list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split K print(len(list(filter(lambda x: x >= K, map(int, input().split()))))) print len(list(filter(lambda x: x >= K, map(int, input().split())))) len list(filter(lambda x: x >= K, map(int, input().split()))) list filter(lambda x: x >= K, map(int, input().split())) filter lambda x: x >= K x >= K x K x map(int, input().split()) map int input().split() ().split () input split if '__main__' == __name__:
    resolve() '__main__' == __name__ '__main__' __name__ resolve() resolve def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split()))))) def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split()))))) resolve
def resolve():
    N, K = list(map(int, input().split()))
    print(len(list(filter(lambda x: x >= K, map(int, input().split())))))

if '__main__' == __name__:
    resolve()