Expresses the extent of something or emphasizes the degree of a condition or situation.
Long explanation:
The ~どんなに~ことか grammar point is used to emphasize the extent of a condition or circumstance, and to express how much or to what degree something is happening. It is often translated as 'how much', 'how greatly', or 'to what extent' in English. This pattern is usually used with an adjective or verb in a sentence.