How to receive the total amount of contacts in the filter

Hello!

How can I receive the total count of contacts in the filter?
In the previous API version it was “reponse->addititional_data->summary->total_count”.

I used GitHub - pipedrive/client-php: Pipedrive API client for PHP package and used
$client->getPersons()->getAllPersons with filter [‘filter_id’ => $listId, ‘limit’ => 1, ‘get_summary’ => 1] Also tried searchPersons

But the response doesn’t contain “addititional_data->summary”