4. As shown in Figure 5, in $\triangle A B C$, $D$ is the midpoint of side $A B$, and $G$ is the midpoint of $C D$. A line through $G$ intersects $A C$ and $B C$ at points $P$ and $Q$, respectively. Then the value of $\frac{C A}{C P}+\frac{C B}{C Q}$ is $\qquad$.