N, D = map(int, input().split())
count = 0

for _ in range(N):
   X, Y = map(int, input().split())
   if (X*X + Y*Y)**0.5 <= D:
       count += 1
print(count) N, D = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split D count = 0 count 0 for _ in range(N):
   X, Y = map(int, input().split())
   if (X*X + Y*Y)**0.5 <= D:
       count += 1 _ range(N) range N X, Y = map(int, input().split()) X map(int, input().split()) map int input().split() ().split () input split Y if (X*X + Y*Y)**0.5 <= D:
       count += 1 (X*X + Y*Y)**0.5 <= D (X*X + Y*Y)**0.5 X*X + Y*Y X*X X X Y*Y Y Y 0.5 D count += 1 count 1 print(count) print count X, Y = map(int, input().split()) map(int, input().split()) X count += 1 1 count D = map(int, input().split()) map(int, input().split()) D N, D = map(int, input().split()) map(int, input().split()) N Y = map(int, input().split()) map(int, input().split()) Y count = 0 0 count
N, D = map(int, input().split())
count = 0

for _ in range(N):
   X, Y = map(int, input().split())
   if (X*X + Y*Y)**0.5 <= D:
       count += 1
print(count)