For $\mathrm{x} \in\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)$, if
$y(x)=\int \frac{\operatorname{cosec} x+\sin x}{\operatorname{cosec} x \sec x+\tan x \sin ^2 x} d x$ and
$\lim _{x \rightarrow\left(\frac{\pi}{2}\right)^{-}} y(x)=0$ then $y\left(\frac{\pi}{4}\right)$ is equal to