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

X = [0] * N
Y = [0] * N

for i in range(N):
    X[i], Y[i] = map(int, input().split())

count = 0

for i in range(N):
    if(D**2 >= X[i]**2 + Y[i]**2):
        count += 1

print(count) N, D = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split D X = [0] * N X [0] * N [0] 0 N Y = [0] * N Y [0] * N [0] 0 N for i in range(N):
    X[i], Y[i] = map(int, input().split()) i range(N) range N X[i], Y[i] = map(int, input().split()) X[i] X i map(int, input().split()) map int input().split() ().split () input split Y[i] Y i count = 0 count 0 for i in range(N):
    if(D**2 >= X[i]**2 + Y[i]**2):
        count += 1 i range(N) range N if(D**2 >= X[i]**2 + Y[i]**2):
        count += 1 D**2 >= X[i]**2 + Y[i]**2 D**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 count += 1 count 1 print(count) print count count = 0 0 count Y = [0] * N [0] * N Y count += 1 1 count N, D = map(int, input().split()) map(int, input().split()) N X = [0] * N [0] * N X D = map(int, input().split()) map(int, input().split()) D
N, D = map(int, input().split())

X = [0] * N
Y = [0] * N

for i in range(N):
    X[i], Y[i] = map(int, input().split())

count = 0

for i in range(N):
    if(D**2 >= X[i]**2 + Y[i]**2):
        count += 1

print(count)
