def count(self):
request_params = dict(self.request_params)<EOL>request_url = str(self.request_url)<EOL>request_params['<STR_LIT>'] = <NUM_LIT:0><EOL>result = self.do_http_request(<EOL>'<STR_LIT>',<EOL>request_url,<EOL>data=request_params,<EOL>custom_header=str(self.etiquette)<EOL>).json()<EOL>return int(result['<STR_LIT:message>']['<STR_LIT>'])<EOL>
This method retrieve the total of records resulting from a given query.

This attribute can be used compounded with query, filter,
sort, order and facet methods.

Examples:
    >>> from crossref.restful import Works
    >>> Works().query('zika').count()
    3597
    >>> Works().query('zika').filter(prefix='10.1590').count()
    61
    >>> Works().query('zika').filter(prefix='10.1590').sort('published').order('desc').filter(has_abstract='true').count()
    14
    >>> Works().query('zika').filter(prefix='10.1590').sort('published').order('desc').filter(has_abstract='true').query(author='Marli').count()
    1