Twig: How to access multiple values from node reference field with number_format
You can get it form the value. something like item.field_component_pages.0.value properly works for you

{% for item in content.field_notes | field_target_entity %}
   {% set field_component_pages = item.field_component_pages.0.value|number_format %} 
{% endfor %}