Prevent word wrap in counter

When the text inside the counter is longer, e.g. {{1 out of 3}} instead of {{1 of 3}}, it can happen that the text inside gets wrapped. This is to prevent line breaks inside the counter element.