Export Dimension from Drawing (Hole Callout, Number of Instance, etc)

I am trying to modify the following macro and is a bit stuck…
https://www.codestack.net/solidworks-api/document/drawing/export-dimensions/

What i would like to add is:

  1. Export the number of instance, even if it is added by user (for the image below, 4X)
  2. Export the full information of hole callout (2X and end condition information)
    image.png
    Appreciate if anyone could point me to a feasible method/command

IDisplayDimension::GetText Method should help get you there. Take a look at swDimensionTextPrefix/swDimensionTextSuffix.

Also:

Get Dimension Values in Drawing Example (VBA)