N, D = map(int, input().split())
x = []
y = []
for i in range(N):
    coords = list(map(int, input().split()))
    x.append(coords[0])
    y.append(coords[1])

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

count = 0
for i in range(N):
    if (x[i]**2 + y[i]**2) ** 0.5 <= D:
        count += 1

print(count)