Oh, I see, here you are counting the number of ``IStructuredDocumentRegion``, not the number of ``ITextRegion`` belonging to a given ``IStructuredDocumentRegion``. What a nice API :)