fix error COUNT query.
Add performance variant:
http://sphinxsearch.com/forum/view.html?id=10212