$$\csc^2{(1/n)}=n^2+\frac13+O(1/n^2)$$ So for large $x$ your summation becomes $$\sum_{n=1}^x \left(n^2+\frac13+O(1/n^2)\right)=\frac16x(x+1)(2x+1)+\frac13x+O(1)$$
$$\csc^2{(1/n)}=n^2+\frac13+O(1/n^2)$$ So for large $x$ your summation becomes $$\sum_{n=1}^x \left(n^2+\frac13+O(1/n^2)\right)=\frac16x(x+1)(2x+1)+\frac13x+O(1)$$