n, d = map(int, input().split())
x, y = zip(*[list(map(int, input().split())) for i in range(n)])
 
ans = 0
for i in range(n):
    if x[i]**2 + y[i]**2 <= d**2:
        ans += 1
 
print(ans) n, d = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split d list(map(int, input().split())) for i in range(n) for i in range(n) i range(n) range n for i in range(n) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split x, y = zip(*[list(map(int, input().split())) for i in range(n)]) x zip(*[list(map(int, input().split())) for i in range(n)]) zip *[list(map(int, input().split())) for i in range(n)] [list(map(int, input().split())) for i in range(n)] y ans = 0 ans 0 for i in range(n):
    if x[i]**2 + y[i]**2 <= d**2:
        ans += 1
  i range(n) range n if x[i]**2 + y[i]**2 <= d**2:
        ans += 1
  x[i]**2 + y[i]**2 <= d**2 x[i]**2 + y[i]**2 x[i]**2 x[i] x i 2 y[i]**2 y[i] y i 2 d**2 d 2 ans += 1 ans 1 print(ans) print ans d = map(int, input().split()) map(int, input().split()) d x, y = zip(*[list(map(int, input().split())) for i in range(n)]) zip(*[list(map(int, input().split())) for i in range(n)]) x n, d = map(int, input().split()) map(int, input().split()) n ans = 0 0 ans ans += 1 1 ans y = zip(*[list(map(int, input().split())) for i in range(n)]) zip(*[list(map(int, input().split())) for i in range(n)]) y
n, d = map(int, input().split())
x, y = zip(*[list(map(int, input().split())) for i in range(n)])
 
ans = 0
for i in range(n):
    if x[i]**2 + y[i]**2 <= d**2:
        ans += 1
 
print(ans)