import sys input=lambda: sys.stdin.readline().rstrip() h,n=map(int,input().split()) ans=1 for _ in range(n-1): if int(input())>h: ans+=1 print(ans)