Grouped searchs don't have a response key

When grouping the search did not provide a "response" key. 
The data is returned into the "grouped" key.

Trying to log the number of documents found in this situation will trigger an KeyError: 'response'