n, d = map(int, input().split())
s = 0
for i in range(n):
  a, b = map(int, input().split())
  if (a ** 2 + b ** 2) ** 0.5 <= d:
    s += 1
print(s) n, d = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split d s = 0 s 0 for i in range(n):
  a, b = map(int, input().split())
  if (a ** 2 + b ** 2) ** 0.5 <= d:
    s += 1 i range(n) range n a, b = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b if (a ** 2 + b ** 2) ** 0.5 <= d:
    s += 1 (a ** 2 + b ** 2) ** 0.5 <= d (a ** 2 + b ** 2) ** 0.5 a ** 2 + b ** 2 a ** 2 a 2 b ** 2 b 2 0.5 d s += 1 s 1 print(s) print s a, b = map(int, input().split()) map(int, input().split()) a s = 0 0 s s += 1 1 s n, d = map(int, input().split()) map(int, input().split()) n d = map(int, input().split()) map(int, input().split()) d b = map(int, input().split()) map(int, input().split()) b
n, d = map(int, input().split())
s = 0
for i in range(n):
  a, b = map(int, input().split())
  if (a ** 2 + b ** 2) ** 0.5 <= d:
    s += 1
print(s)