If only one Matrix block show this, for more then one block show that I have a Matrix field which contains a bunch of blocks. If only one matrix field is present in the entry I need it to show a message. If more then one matrix field show an other message.

Below is my current code.

{% for block in entry.modelIds.limit(1) %}
    {% if block.modelId|length == 1 %}
        I am link - {{block.modelId}} &lt;br&gt;
    {% else %}
        Not a Link - {{block.modelId}}&lt;br&gt;
    {% endif %}
{% endfor %}


Any help would be appreciated. I have tried a few different approaches and am just stumped. 

Thanks!

Edit: adding image of fields.
Thanks to Brad for asking me a question above, it made me realize I was checking for matrix fields and not the matrix block. My code is now working that I am checking for the correct element on the page.  

Revised code:

{% if entry.modelIds|length == 1 %}
     I am link - {{block.modelId}} &lt;br&gt;
{% else %}
     Not a Link - {{block.modelId}}&lt;br&gt;
{% endif %}


Thanks Brad for the help!