Can't get "inventory_quantity" on Liquid sections

Hello… Why can’t i get “inventory_quantity” on Liquid sections (Dawn Theme)? I don’t want to install apps to get stock quantity… I just want to get sotck quantity on every section where i get the product object… It is strange that this property could be accessed before and now it has been removed.

When I print {{ product.variants.first }} or {{ product.selected_or_first_available_variant }} isn’t showing that property.

But when access {{ product.selected_or_first_available_variant.inventory_quantity }} or:

{%- assign inventory_count = 0 -%}
{%- for variant in product.variants -%}
  {%- assign inventory_count = inventory_count | plus: variant.inventory_quantity -%}
{%- endfor -%}
Total In Stock: {{ inventory_count }}

It’s work.

Maybe that weird thing has confused me, but it’s solved.