The wonder was that he could exist at all.
The wonder of him existing was that he had been born very sick. 
mnli hypothesis: The wonder of him existing was that he had been born very sick.  premise: The wonder was that he could exist at all.