#!/usr/bin/env python3
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


def main():
    _, K = map(int, readline().split())
    hs = map(int, readline().split())

    print(sum([h >= K for h in hs]))


if __name__ == '__main__':
    main() import sys sys read = sys.stdin.buffer.read read sys.stdin.buffer.read sys.stdin.buffer sys.stdin sys stdin buffer read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline readlines = sys.stdin.buffer.readlines readlines sys.stdin.buffer.readlines sys.stdin.buffer sys.stdin sys stdin buffer readlines def main():
    _, K = map(int, readline().split())
    hs = map(int, readline().split())

    print(sum([h >= K for h in hs])) main _, K = map(int, readline().split()) _ map(int, readline().split()) map int readline().split() ().split () readline split K hs = map(int, readline().split()) hs map(int, readline().split()) map int readline().split() ().split () readline split h >= K for h in hs for h in hs h hs for h in hs h >= K h K print(sum([h >= K for h in hs])) print sum([h >= K for h in hs]) sum [h >= K for h in hs] if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline def main():
    _, K = map(int, readline().split())
    hs = map(int, readline().split())

    print(sum([h >= K for h in hs])) def main():
    _, K = map(int, readline().split())
    hs = map(int, readline().split())

    print(sum([h >= K for h in hs])) main read = sys.stdin.buffer.read sys.stdin.buffer.read read readlines = sys.stdin.buffer.readlines sys.stdin.buffer.readlines readlines
#!/usr/bin/env python3
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


def main():
    _, K = map(int, readline().split())
    hs = map(int, readline().split())

    print(sum([h >= K for h in hs]))


if __name__ == '__main__':
    main()
