Let $y=y(x)$ be the solution of $(x+y+2)^2dx=dy$, $y(0)=-2$. Let the maximum and minimum values of $y=y(x)$ in $\left[0,\dfrac{\pi}{3}\right]$ be $\alpha$ and $\beta$ respectively. If $(3\alpha+\pi)^2+\beta^2=\gamma+\delta\sqrt{3}$, $\gamma,\delta\in\mathbb{Z}$, then $\gamma+\delta$ equals ________.