[bug 889141] Fix get_doctype_stats

It was looking at the hard-coded READ_INDEX when it should look at the
index it's told to look at.

This fixes the summary in `./manage.py esstatus` and in the search admin page.

It doesn't affect anything else.

Quick r?