Dawn 2.0 - Adding quantity available to product page

I’ve tried using the same code I used in the old shoplify themes but its not working and only showing me the “this product is available”

So I am also keen for the solution.

{% comment %} Inventory tracking on product page {% endcomment %}> > {% if current_variant.inventory_management == “shopify” and current_variant.inventory_policy != “continue” %}> We have {{ current_variant.inventory_quantity }} in stock.> {% else %}> This product is available.> {% endif %}>