footnote styling. counter refactoring