nervetattoo/elasticsearch — pull request #24 by nervetattoo (2012-11-07 15:29:51+00:00)
Title: Adds Client::count() as a first class citizen for count queries

Instead of doing the former, support using the latter form:
THis also returns an integer instead of an array you need to do a lookup manually into.

```php
$client->request('_count', 'GET', $query);

$client->count($query);
```