num, max_num = map(int, input().split())
x = []
y = []
count = 0

for i in range(num):
  x1,y1 = map(int, input().split())
  x.append(x1)
  y.append(y1)

for i in range(len(x)):
  temp = (x[i]**2 +y[i]**2)**(1/2)
  if temp <= max_num:
    count += 1

print(count)
 num, max_num = map(int, input().split()) num map(int, input().split()) map int input().split() ().split () input split max_num x = [] x [] y = [] y [] count = 0 count 0 for i in range(num):
  x1,y1 = map(int, input().split())
  x.append(x1)
  y.append(y1) i range(num) range num x1,y1 = map(int, input().split()) x1 map(int, input().split()) map int input().split() ().split () input split y1 x.append(x1) x.append x append x1 y.append(y1) y.append y append y1 for i in range(len(x)):
  temp = (x[i]**2 +y[i]**2)**(1/2)
  if temp <= max_num:
    count += 1 i range(len(x)) range len(x) len x temp = (x[i]**2 +y[i]**2)**(1/2) temp (x[i]**2 +y[i]**2)**(1/2) x[i]**2 +y[i]**2 x[i]**2 x[i] x i 2 y[i]**2 y[i] y i 2 1/2 1 2 if temp <= max_num:
    count += 1 temp <= max_num temp max_num count += 1 count 1 print(count) print count x1,y1 = map(int, input().split()) map(int, input().split()) x1 count += 1 1 count num, max_num = map(int, input().split()) map(int, input().split()) num max_num = map(int, input().split()) map(int, input().split()) max_num count = 0 0 count y = [] [] y temp = (x[i]**2 +y[i]**2)**(1/2) (x[i]**2 +y[i]**2)**(1/2) temp x = [] [] x y1 = map(int, input().split()) map(int, input().split()) y1
num, max_num = map(int, input().split())
x = []
y = []
count = 0

for i in range(num):
  x1,y1 = map(int, input().split())
  x.append(x1)
  y.append(y1)

for i in range(len(x)):
  temp = (x[i]**2 +y[i]**2)**(1/2)
  if temp <= max_num:
    count += 1

print(count)

