Let's create a random list
n = 100;
data = Table[{RandomReal[{0, 2}], RandomReal[{-1, 1}]}, {i, 0, n}]
Now we divide the $(x,y)$ plane into four sectors with the center at (1,0)
ang1 = 45;
ang2 = 135;
m1 = Tan[ang1*Degree];
m2 = Tan[ang2 *Degree];
y1 = m1*(x - 1);
y2 = m2*(x - 1);
ls = Plot[{y1, y2}, {x, -2, 2},
PlotStyle -> {{Magenta, Dashed, Thick}}, AspectRatio -> 1]
My question is how to count how many random points is at every sector.
Many thanks in advance.