Fixed pagination count issues on attribute list pages.
Merge branch 'master' of https://github.com/opencart/opencart