Automatic workaround for other CSS counters bug on IE7

This P/R addresses an issue described in #744 but related to `counters` (not `counter`). The functions do slightly different things of course, but they cause the same [bug](http://jes.st/2013/ie7s-css-breaking-content-counter-bug/) in IE7.

A walkaround for `counter` has already been done (i.e. 1556fe288b5aa96a777291a208998deb31522a33). I simply modify it and use for the other function. :)