We do spaces inside `#{}`. So `#{ @publications.length }`.

Probably you could do also simply `#{ @publications?.length or 0 }`.