This problem requires deducing the seating order of eight soldiers based on relative positions and then finding the number of soldiers between two specific individuals.
In the final arrangement $E A G F D B C H$:
The soldiers between G (pos 3) and H (pos 8) are at positions 4, 5, 6, and 7. These soldiers are F, D, B, and C.
Therefore, there are 4 soldiers sitting between H and G.