What is the total count of all integer solutions of the all following equations?
\[ \begin{aligned}
\log_{\frac12}\!\left(\log_2x\right)&=-1 \\
\log_5\!\left(\log_{\frac15}x\right)&=0 \\
-\log_{\frac13}\!\left(\log_{\frac12}x\right)&=1 \end{aligned}\]