set default when using an undefined variable in "with_sequence"

What is the proper way to set a default for helios_web1b.count?

Currently this task:

`

  • name: create identifier sequence for tagging web1b
    no_log: true
    debug: msg=“{{ item }}”
    with_sequence:
    start=0
    count=“{{ helios_web1b.count }}”
    format=%02d
    register: sequence
    `

results in:

`
TASK: [helios_aws_multi | create identifier sequence for tagging web1b] *******
fatal: [localhost] => unknown error parsing with_sequence arguments: u’start=0 count=“{{ helios_web1b.count }}” format=%02d’

FATAL: all hosts have already failed – aborting
`

I tried:

`

  • name: create identifier sequence for tagging web1b
    no_log: true
    debug: msg=“{{ item }}”
    with_sequence:
    start=0
    count=“{{ helios_web1b.count | default (‘2’) }}”
    format=%02d
    register: sequence
    `

Nothing has worked so far. Any ideas would be awesome. Thank you.

{{ (helios_web1b|default(2)).count | default ('2') }}"