[bug 1015768] Don't count templates and redirects Top X number.

The problem here was that we were applying less filters to the numerator and it could end up being larger than the denominator in certain cases. Then we ended up showing percentages over 100. Wheeee. This fixes that.

r?