This number is called the index of the map $\phi: SU(2)\to G$. It can be defined for any homomorphism $\phi:H\to G$ where $H$ is simple. Algebraically it can be computed as follows. Since $\mathfrak h$ is simple the restriction of the Killing form of $\mathfrak g$ to $\mathfrak h$ is a constant multiple of the Killing form of $\mathfrak h$. That constant is the index of $\phi$. In the specific case you are asking about for a simple root $\alpha$ the index can also be written as $\frac{(\alpha_{max},\alpha_{max})}{(\alpha,\alpha)}$ where $\alpha_{max}$ is the longest simple root of $\mathfrak g$. Note that from the classification of compact simple Lie groups this can only be equal to 1,2 or 3.
See Onishchik, "Topology of transitive transformation groups", §3.10 and §17.2 for details on this.

