Get Consent History Count

The count service provides the total number of history records for a specific consent. If you are implementing pagination for consent history, call this endpoint before calling GET /consents/history to know the number of records for the given consent that are returned for the input parameters passed.