Zend certified PHP/Magento developer

can we get quantity of simple product in configurable swatches

We have enabled Backorder for all simple products. And created configurable items with color swatches.

Now I need to hide some swatches which has negative quantity. To do this we need to add quantity to the below div.

<div class="swatch-option color" id="option-label-color-93-item-28" index="1" aria-checked="false" aria-describedby="option-label-color-93" tabindex="0" data-option-type="1" data-option-id="28" data-option-label="Blue" aria-label="Blue" role="option" data-thumb-width="110" data-thumb-height="90" data-option-tooltip-value="#1a0aff"></div>

Anyone knows how to implement this functionality in Magento 2