${(1..)?size}

<#attempt>
  ${foo.m(null)}
<#recover>
  Failed
</#attempt>

${foo.f!'-'}