Add SearchForm::count method

The `SearchForm::submit` method is augmented with a `$raw` parameter which when
true causes the raw results object to be returned rather than an array of
Document objects.

This allows a `count()` method on the SearchForm class which copies the form
(via `pageSize(1)`), submits it and returns just the `total_results_size`
property.