
def answer(n: int, k: int, h: []) -> int:
    return len(list(i for i in h if k <= i))


def main():
    n, k = map(int, input().split())
    h = map(int, input().split())
    print(answer(n, k, h))


if __name__ == '__main__':
    main() def answer(n: int, k: int, h: []) -> int:
    return len(list(i for i in h if k <= i)) answer return len(list(i for i in h if k <= i)) len(list(i for i in h if k <= i)) len list(i for i in h if k <= i) list i n: int n k: int k h: [] h def main():
    n, k = map(int, input().split())
    h = map(int, input().split())
    print(answer(n, k, h)) main n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h = map(int, input().split()) h map(int, input().split()) map int input().split() ().split () input split print(answer(n, k, h)) print answer(n, k, h) answer n k h if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    n, k = map(int, input().split())
    h = map(int, input().split())
    print(answer(n, k, h)) def main():
    n, k = map(int, input().split())
    h = map(int, input().split())
    print(answer(n, k, h)) main def answer(n: int, k: int, h: []) -> int:
    return len(list(i for i in h if k <= i)) def answer(n: int, k: int, h: []) -> int:
    return len(list(i for i in h if k <= i)) answer

def answer(n: int, k: int, h: []) -> int:
    return len(list(i for i in h if k <= i))


def main():
    n, k = map(int, input().split())
    h = map(int, input().split())
    print(answer(n, k, h))


if __name__ == '__main__':
    main()
