How to 'if count =='

I have an array like so:

page_header:
    -
        text: 'CFA Day!'
        image:
                name: CFA_Day_2_2012.jpg
                type: image/jpeg
                size: 654080

I want to know IF an image field exists and if it exists once or more than once:

{% for items in header.page_header %}
{% if item.image.count == 1 %}
do something
{% elseif item.image.count > 1 %}
something else
{% endif %}
{% endfor %}

But this doesn’t work… what am I doing wrong?

There’s no dash. As written, image is an object, not an array of objects.