Allow filtering of Index::get_count() query args