Moved counters to ::before pseudo-element rather than ::after