# B - Roller Coaster
def main():
    cnt = 0
    n, k = map(int, input().split())
    h = list(map(int, input().split()))

    print(sum([cnt+1 for v in h if v >= k]))

if __name__ ==  "__main__":
    main() def main():
    cnt = 0
    n, k = map(int, input().split())
    h = list(map(int, input().split()))

    print(sum([cnt+1 for v in h if v >= k])) main cnt = 0 cnt 0 n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k h = list(map(int, input().split())) h list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split cnt+1 for v in h if v >= k for v in h if v >= k v h v >= k v k if v >= k cnt+1 cnt 1 print(sum([cnt+1 for v in h if v >= k])) print sum([cnt+1 for v in h if v >= k]) sum [cnt+1 for v in h if v >= k] if __name__ ==  "__main__":
    main() __name__ ==  "__main__" __name__ "__main__" main() main def main():
    cnt = 0
    n, k = map(int, input().split())
    h = list(map(int, input().split()))

    print(sum([cnt+1 for v in h if v >= k])) def main():
    cnt = 0
    n, k = map(int, input().split())
    h = list(map(int, input().split()))

    print(sum([cnt+1 for v in h if v >= k])) main
# B - Roller Coaster
def main():
    cnt = 0
    n, k = map(int, input().split())
    h = list(map(int, input().split()))

    print(sum([cnt+1 for v in h if v >= k]))

if __name__ ==  "__main__":
    main()