Issue #3072668 by Grimreaper: Illegal offset type in locale_get_plural because $response['hits']['total'] structure has changed
Closes #3253942