@gen.coroutine<EOL><INDENT>@query_params('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT:source>')<EOL>def count(self, index=None, doc_type=None, body=None, params=None):<DEDENT>
_, data = yield self.transport.perform_request('<STR_LIT:POST>',<EOL>_make_path(index,<EOL>doc_type,<EOL>'<STR_LIT>'),<EOL>params=params, body=body)<EOL>raise gen.Return(data)<EOL>
Execute a query and get the number of matches for that query.
`<http://elasticsearch.org/guide/reference/api/count/>`_

:arg index: A comma-separated list of indices to restrict the results
:arg doc_type: A comma-separated list of types to restrict the results
:arg body: A query to restrict the results (optional)
:arg ignore_indices: When performed on multiple indices, allows to
    ignore `missing` ones (default: none)
:arg min_score: Include only documents with a specific `_score` value
    in the result
:arg preference: Specify the node or shard the operation should be
    performed on (default: random)
:arg routing: Specific routing value
:arg source: The URL-encoded query definition (instead of using the
    request body)